vim documentation tweaks
dblume

dblume commited on 2025-06-23 09:06:52
Showing 2 changed files, with 1 additions and 16 deletions.


Decided to remove a "Will remove this section" bit, and clean
some formatting. May as well mention Ghostty where I mention
Alacritty.
... ...
@@ -41,13 +41,6 @@ set title titlestring=%f%m\ -\ nvim
41 41
 " Having said that, use unnamedplus.
42 42
 set clipboard+=unnamedplus
43 43
 
44
-" Will remove these two remappings if unnamedplus (above) does the job
45
-" Yank and put into the system Clipboard (register + or *)
46
-" Otherwise make explicit commands "+yy "+y "+Y (or * instead of + as needed)
47
-" N.B. cscope_maps might assign <leader>c to its prefix.
48
-"nnoremap <leader>c "+
49
-"vnoremap <leader>c "+
50
-
51 44
 " Make j and k move to the next row, not file line
52 45
 nnoremap j gj
53 46
 nnoremap k gk
... ...
@@ -71,7 +64,7 @@ nnoremap <C-l> <C-w>l
71 64
 " clear search highlights
72 65
 nnoremap <cr> :noh<cr><cr>
73 66
 
74
-" tmux 3.2+ doesn't send C-i, so have Alacritty iTerm2 map C-i to <leader>i
67
+" tmux 3.2+ doesn't send C-i, so Ghostty, Alacritty and iTerm2 map C-i to <leader>i
75 68
 " iTerm2: Settings > Keys > Key Bindings > + > Shortcut:^i Action:Send Text "\i"
76 69
 nnoremap <leader>i <C-i>
77 70
 " Use (Shift-)Tab to navigate buffers, retain C-i/C-o for jumps.
... ...
@@ -29,14 +29,6 @@ set title titlestring=%f%m\ -\ vim
29 29
 " Having said that, use unnamedplus.
30 30
 set clipboard=unnamed,unnamedplus
31 31
 
32
-
33
-" Will remove these two remappings if unnamedplus (above) does the job
34
-" Yank and put into the system Clipboard (register + or *)
35
-" Otherwise make explicit commands "+yy "+y "+Y (or * instead of + as needed)
36
-" N.B. cscope_maps might assign <leader>c to its prefix.
37
-"nnoremap <leader>c "+
38
-"vnoremap <leader>c "+
39
-
40 32
 if v:version >= 703
41 33
   " Do save the undo tree to file, but not in the local directory.
42 34
   " Don't forget to mkdir ~/.vim_undo
43 35