Just edit /etc/passwd file with your user id line to change your home directory when you start the console in cygwin.
Showing posts with label cygwin vi. Show all posts
Showing posts with label cygwin vi. Show all posts
9/03/2009
9/23/2008
VIM: Visual block select with edit!
Within Vim, do following sequence to edit to be applied in highlighted virtual block:
Ctrl+v -> select block with cursor -> Shift+
For example, I would like to insert '//' comment line in front of all highlighted syntax:
Ctrl+v -> select block with cursor -> Shift+i -> type in '//' -> ESC -> done
Tada! Magic!
9/11/2008
Cygwin Vi syntax enabling
Just create .vimrc file with following content:
syntax enable
set sw=4 ts=4 et
set wildmenu
Subscribe to:
Posts (Atom)