Posts Tagged “vim”
Profiling Vim
Now that you have mastered debugging in Vim and gotten all of your Vimscript working as expected, you might be wondering about the performance of those functions? What are the bottlenecks of your Vimscript functions? How long exactly does it take Vim to startup and what is the time breakdown...
Debugging Vim
Though the documentation in Vim is fairly comprehensive, it is sometimes difficult to find the information for which you are searching. Another serious problem is that Vimscript is a difficult language to learn/use. Whether you are just copying snippets you found online, or aspiring to write some code of your...
Sane Vim Working Directories
Vim's defaults are rather dated. Without syntax highlighting, line numbers, or a variety of other defaults found in most modern editors, the initial headache is always configuring these basic settings before starting with Vim. Despite the obvious visual settings, there are a number of Vim defaults that are not apparent...
Vim Macros
One of the big advantages I find to using vim as my editor is the ability to record and replay macros. The recording of a macro begins when q is pressed followed by any other key, which specifies what register the macro is to be stored in. If we use...