Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2129

Doing an action when pressing a key. These are also called key mappings or mappings. For questions about default key bindings, as well as creating or redefining key bindings.

3 votes
1 answer
967 views

Is there a nice way to remove semicolon in files using Vim?

Background: My development team decided to move to typescript and one of the style guidelines was to remove all semi-colons and they will probably do so in newer JavaScript files (I know its a bit pe …
TheLazyChap's user avatar
1 vote

How can I unmap <esc> key in vim, it keeps reverting despite setting it in .vimrc?

I think I found the 'potentially' culprit. I would love an explanation if anyone can explain it. These two lines when I comment them out the first entry gets erased. nnoremap <C-]> :bnext<CR> nnorem …
TheLazyChap's user avatar
6 votes
2 answers
1k views

How can I unmap <esc> key in vim, it keeps reverting despite setting it in .vimrc?

Hi I am having some issue trying to unmap this key in my .vimrc. I've tried a lot of suggestions and remapping but it seems to be resetting itself every time. unamp <Esc> unmap! <Esc> map <Esc>^[ <E …
TheLazyChap's user avatar