Mercurial > ec-dotfiles
comparison rc/vimrc @ 659:be98916b55df
[vimrc] Support xorg native function keys
(or at least xfce4-terminal's)
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 10 Dec 2021 19:00:03 +0900 |
parents | 6ca63cec0879 |
children | f280738a90a6 |
comparison
equal
deleted
inserted
replaced
658:35c26d9dcaa7 | 659:be98916b55df |
---|---|
57 map <C-t><C-t> :NERDTreeToggle<cr> | 57 map <C-t><C-t> :NERDTreeToggle<cr> |
58 map <C-t><C-m> :NERDTreeMirror<cr> | 58 map <C-t><C-m> :NERDTreeMirror<cr> |
59 | 59 |
60 " clears out highlight | 60 " clears out highlight |
61 nmap <esc>[13~ <esc>:nohlsearch<cr> | 61 nmap <esc>[13~ <esc>:nohlsearch<cr> |
62 nmap <F3> <esc>:set paste!<cr> | |
62 | 63 |
63 " toggles paste mode | 64 " toggles paste mode |
64 nmap <esc>[14~ <esc>:set paste!<cr> | 65 nmap <esc>[14~ <esc>:set paste!<cr> |
66 nmap <F4> <esc>:set paste!<cr> | |
65 | 67 |
66 " removes prefix for windows copypasta | 68 " removes prefix for windows copypasta |
67 nmap <esc>[15~ <esc>:set number! list!<cr> | 69 nmap <esc>[15~ <esc>:set number! list!<cr> |
70 nmap <F5> <esc>:set number! list!<cr> | |
68 | 71 |
69 " format JSON | 72 " format JSON |
70 map <leader>j <esc>:%!python -m json.tool<cr> | 73 map <leader>j <esc>:%!python -m json.tool<cr> |
71 | 74 |
72 " visual navigation instead of logical | 75 " visual navigation instead of logical |