New answers tagged

1

You could search /MARK and then hit n, but faster and easier in my opinion is global/MARK/list And then you type : and the line number when you get the list of results. The command can be shortened to :g/MARK/#, if you like, or mapped to a keysequence to make it even faster: nnoremap <leader>m :global/MARK/#<CR>:


1

The "problem" with 2F( is the 2: you need to count, which is easy in some case, but can be troublesome most of the time. I see several brainless ways of doing what you intend: %: %h%l%h%l... the percent sign jumps to the symbol that matches the one under the cursor (e.g. closing/opening parenthesis), or the first closing symbol after your cursor. ...


0

You can see a list of these features with :version. This will show you which is available and which is not, as well as your Vim version, compilation method and other information.


2

You can control that with the 'selection' option. To disable the "past line" cursor behavior, use the following command: set selection=old Beware that using a non-default setting for this option is possibly likely to break behavior of some plug-ins, so it might not be a great idea to change it. There's also a motion that might be close to what you ...


2

So "peachpuff" has just the white background in console. You can patch the source directly, or add this to your vimrc: augroup peachpuff | au! autocmd colorscheme peachpuff hi Normal ctermfg=0 ctermbg=223 augroup end Still not exactly the same as in GUI, but it's much closer now. P.S. Or you can "extend" an existing color scheme ...


2

In the code of peachpuff colorscheme we can find such note: " Note: Only GUI colors differ from default, on terminal it's just `light'.


Top 50 recent answers are included