Skip to main content

Home/ Groups/ VIM Editor
1More

Daily Vim: Quick Paste - 0 views

  • You may have noticed that pasting outside text into Vim from insert mode can lead to awkwardly stair-stepped text. You may also know that this is easily avoidable via :set paste from normal mode. I paste from outside often enough, that I've added the following to my vimrc making it that much easier.set pastetoggle=<F5>
1More

automatic type along completion as in Notepad++? - vim_use | Google Groups - 0 views

  • augroup foo   au!   au CursorMovedI,InsertEnter * if search('\k\{2,}\%#\k\@!','ncb') |               \ call feedkeys("\<c-n>\<c-p>","t") | endif augroup END inoremap <expr><cr> pumvisible()?"\<c-n>\<c-y> ":"\<cr>" Pressing return-key will accept the first match. Be ready to exit the editor.
1More

Opening every buffer in its own tab - vim_use | Google Groups - 0 views

  • s Ben Fritz says, all you need is wildmenu completion on :b <Tab> An example, to show just how powerful this is: :set wildmenu wildmode=full
1More

mapping Tab in the command line - vim_use | Google Groups - 0 views

  •     set wildmenu     set wildmode=list:longest,full     set wcm=<C-Z>     map <leader>a :b <C-Z>
1More

Vim documentation: syntax - 0 views

  • \z1 ... \z9 */\z6* */\z7* */\z8* */\z9* *E66* *E67* Matches the same string that was matched by the corresponding sub-expression in a previous start pattern match.
1More

Daily Vim: Repeat Last Command Line - 0 views

  • Repeat Last Command Line To repeat the last command-line given in ex mode, you can simply enter a count followed by "@:".
1More

YankRing.vim - Maintains a history of previous yanks and deletes : vim online - 0 views

  • Vim already maintains a list of numbered registers containing the last 9 deletes.  These previous deletes can be referenced using [register]p, so "1p will paste the last delete, "2p the 2nd last delete.  For more information see |quote_number|. Vim does not provide any mechanism to reference previous yanked text.  In Emacs this feature is called the "kill ring".
« First ‹ Previous 81 - 100 of 136 Next › Last »
Showing 20 items per page