Archive for February, 2012

yet another ~./vimrc

set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab number
nnoremap <F7> :tabp<Enter>
nnoremap <F8> :tabn<Enter>
nnoremap <F6> :bd<Enter>
nnoremap <F5> :tabnew<Enter>

set sessionoptions=blank,buffers,curdir,folds,globals,help,localoptions,options,resize,tabpages,winsize,winpos



Create Session:
:mksession /path/to/session/file.vim

Restore Session:
$ vim -S /path/to/session/file.vim

http://code.google.com/p/conque/
:source %

Comments

Mount remote system locally over ssh

with certificate authentication or password prompt
sshfs my_username@example.com:/home/my_user /mnt/my_remote_system  -o reconnect -o follow_symlinks -o allow_other

 

or with plain text password:

echo “my_password” | sshfs my_username@example.com:/home/my_user /mnt/my_remote_system  -o reconnect -o follow_symlinks -o allow_other -o password_stdin

Comments