[off topic] Darn good quote
It's so much easier to suggest solutions when you don't know too much about the problem.
-- Malcolm Forbes
It's so much easier to suggest solutions when you don't know too much about the problem.
-- Malcolm Forbes
Posted by Ihar Filipau at 11:43 PM 0 comments
Simple Vim intro by Linux Magazine.
Posted by Ihar Filipau at 2:07 PM 0 comments
Another upgrade, another OS, another update... Well, new home directory - consequently new .vimrc
.
Here is N hours into coding minimalistic usable .vimrc
:
filetype plugin off
syntax on
imap <Insert> <Nop>
set bs=2 ruler title comments= nowrap
set cindent cinkeys-=: cinkeys-=0#
colo torte
let loaded_matchparen = 1
au BufReadPost * if line("'\"") > 0 &&
\ line("'\"") <= line("$") | exe "normal g'\"" | endif
I hope this time, Blogger/BlogSpot hadn't eaten any characters.
The set comment=
creeped in before I have realized that filetype plugin
is still on
.
Posted by Ihar Filipau at 12:56 PM 0 comments
Always forget the very useful shortcut which is apparently intended for "Vim Easy":^O
When in insert mode (and, by definition, in easy vim you are always in the mode) to insert command from Normal mode, you press first ^O and then start typing the command.
e.g. to delete to the end of line press ^O
followed by Shift-d
. Pressing :
you can also access all the ex commands too - but that will leave insert mode.
Posted by Ihar Filipau at 3:00 PM 2 comments