diff options
| author | nsfisis <nsfisis@gmail.com> | 2022-02-04 21:33:53 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2022-02-04 21:33:53 +0900 |
| commit | b630ba2a4209aee88b101bda0aa0473ae571a34b (patch) | |
| tree | a049da82fb7995bb9cd7275dee6ca1fdcc2229b0 /.vimrc | |
| parent | 9f85b2508209de9df73a223768ee0162fb87c1d0 (diff) | |
| download | dotfiles-b630ba2a4209aee88b101bda0aa0473ae571a34b.tar.gz dotfiles-b630ba2a4209aee88b101bda0aa0473ae571a34b.tar.zst dotfiles-b630ba2a4209aee88b101bda0aa0473ae571a34b.zip | |
neovim: fix T8/T0/T2
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -298,9 +298,9 @@ nnoremap <silent> Te :<C-u>set expandtab!<CR> nnoremap <silent> Th :<C-u>set hlsearch!<CR> nnoremap <silent> Tn :<C-u>set number!<CR> nnoremap <silent> Ts :<C-u>set spell!<CR> -nnoremap <silent> T8 :<C-u>if &textwidth ==# 80 <Bar>set textwidth= <Bar>else <Bar>set textwidth=80 <Bar>endif<CR> -nnoremap <silent> T0 :<C-u>if &textwidth ==# 100 <Bar>set textwidth= <Bar>else <Bar>set textwidth=100 <Bar>endif<CR> -nnoremap <silent> T2 :<C-u>if &textwidth ==# 120 <Bar>set textwidth= <Bar>else <Bar>set textwidth=120 <Bar>endif<CR> +nnoremap <silent> T8 :<C-u>if &textwidth ==# 80 <Bar>set textwidth=0 <Bar>else <Bar>set textwidth=80 <Bar>endif<CR> +nnoremap <silent> T0 :<C-u>if &textwidth ==# 100 <Bar>set textwidth=0 <Bar>else <Bar>set textwidth=100 <Bar>endif<CR> +nnoremap <silent> T2 :<C-u>if &textwidth ==# 120 <Bar>set textwidth=0 <Bar>else <Bar>set textwidth=120 <Bar>endif<CR> nnoremap <silent> Tw :<C-u>set wrap!<CR> nmap TB Tb |
