Showing posts with label vim. Show all posts
Showing posts with label vim. Show all posts

Wednesday, October 2, 2013

vim bookmarks


http://vim.wikia.com/wiki/Using_marks

http://www.thegeekstuff.com/2009/02/how-to-add-bookmarks-inside-vi-and-vim-editor/


Wednesday, April 4, 2012

vi/vim cheatsheet

http://www.worldtimzone.com/res/vi.html


Fixed a problem of cscope_maps.vim

The introduction for cscope_maps.vim is here: http://cscope.sourceforge.net/cscope_vim_tutorial.html

It is a good plugin for VIM, but I could not use it on my machine somehow. After google search and tried some method to debug the plugin, the problem still exists.

Finally, I noticed that when I launch vim, there is an error message complaining about the line 42 of cscope_maps.vim. Maybe that error prevents the plugin to be loaded. So I just go ahead, open the cscope_maps.vim and comment out the line 42 and some related lines, then the plugin works! I can use all the shortcut keys to search the source code now. :)

Friday, March 30, 2012

ctrl+s on Linux

http://raamdev.com/2007/recovering-from-ctrls-in-putty/

follow ctrl+s, press ctrl+q to recover when on a Linux console.