Just realised there is a difference between word and WORD in Vim.
WORD is non-blank delimited by whitespace. word is …
read moreJust realised there is a difference between word and WORD in Vim.
WORD is non-blank delimited by whitespace. word is …
read moreCreating new posts in Octopress is rake new_post["Edit Posts"]
which outputs the created filename.
Posts are prefixed with date …
read moreThis is not a foolproof method, as vim colorschemes are just vim commands but by default they set:
let g …
Deciding to see if I could make my vim status line a bit more practical for myself. I decided to …
read moreGood programming practice is to use spaces to indent code rather than tabs. Due to tabs often being rendered differently …
read moreI have decided to clean up my vim colorschemes. I have been using ir_black for sometime but it does not …
read moregf
In your vimrc
" gf goto_file, automatically add search for these file extensions
:set suffixesadd+=.v
:set suffixesadd+=.sv …
To enable code folding in Vim type (from normal mode):
:set foldmethod=marker
Or add this to your .vimrc
set …
In gvim and mvim incorrect spellings are highlighted with a squiggly underscore ala MS Word. vim in a terminal (xterm …
read morectrl-6
For the example we will create 3 new temp files and then open them in vim.
touch vim_test1 …
ctrl-r "
Actually ctrl-r reg
, where " is the unnamed register from the last yank or delete.
If you have done …
read moreThis vim plugin will allow you to gist directly from vim, simple way is just :Gist to gist entire file …
read moreIn Vim to insert text before the cursor press 'i', to insert text after cursor 'a' or to edit at …
read moreA new very cool plugin for Rubyists using Vim. RubyBlock TextObjects created by Drew Neil from Vimcasts.org. Once installed …
read moreThis snippet can be added to you ~/.vimrc to highlight long lines.
" Highlight lines over 80 characters long with red …
To search in Vim just press (apple-f for macvim) / then search string.
/search
This will highlight all occurrences of 'search' …
read more