Fandom

Vim Tips Wiki

Script:4118

1,624pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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.

CommentsEdit

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)

Also on Fandom

Random Wiki