Vim Tips Wiki
Register
Advertisement

Use this page to discuss script 4118 vim-signature: toggle, display and navigate marks and signs

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Comments[]

The signature script is indeed excellent. I use it to quickly jump between various locations in source code. I mark lines I want to jump between with markers of a certain type, e.g. a '!'-mark by hitting 'm1' or a '@'-mark by hitting 'm2' and so on. I can easily jump forwards/backwards, say, between all '!'-marked lines with ALT+j/ALT-k when adding:

nmap <M-j> ]-
nmap <M-k> [-

to my .vimrc file.

Or, I can set the next free alphabetical mark with 'm,' and jump forwards/backwards in alphabetical order with CTRL-j/CTRL-k when adding:

nmap <C-j> ']
nmap <C-k> '[

to my .vimrc file.

The display of these marks in the left column is very nice, quick, intuitive and non-cluttered (contrary to what I saw is the default setting in the ShowMarks script).

Very good work, Mr. Shenoy - thanks a lot!

Lineinthesand (talk) 11:02, December 7, 2012 (UTC)

Advertisement