diff --git a/.vim/plugin/keymap.vim b/.vim/plugin/keymap.vim new file mode 100644 index 0000000..0d993c2 --- /dev/null +++ b/.vim/plugin/keymap.vim @@ -0,0 +1,16 @@ +" See https://vim.fandom.com/wiki/Mapping_fast_keycodes_in_terminal_Vim +" See termcap-options for mapped key info +" Some may not mapped correctly mapped for F1 to F4 (See vt100-function-keys ) +" To set them, you can have a look at https://vim.fandom.com/wiki/Mapping_keys_in_Vim_-_Tutorial_(Part_2) +" :set = +" Those are the key for gnome-terminal with zsh on archlinux +if &term =~ "xterm." + set = + set = + set = + set = +endif +"you could also direclty map them +" map :some vimcmds +" you can check the result with :map