vim: No need to set jump point for insert mode now
dblume

dblume commited on 2025-01-27 22:09:33
Showing 2 changed files, with 0 additions and 2 deletions.


Now that I disabled moving the cursor on window activation,
I want insert mode to remain as insert mode when I further
tap around in the window.
... ...
@@ -108,7 +108,6 @@ augroup END
108 108
 
109 109
 " Set jump point from before mouse click.
110 110
 nnoremap <LeftMouse> m'<LeftMouse>
111
-inoremap <LeftMouse> <Esc>m'<LeftMouse>
112 111
 
113 112
 " Make c-] show a list of tags, or jump straight if only single tag
114 113
 " Note cscope_maps plugin might map c-].
... ...
@@ -117,7 +117,6 @@ augroup END
117 117
 
118 118
 " Set jump point from before mouse click.
119 119
 nnoremap <LeftMouse> m'<LeftMouse>
120
-inoremap <LeftMouse> <Esc>m'<LeftMouse>
121 120
 
122 121
 set tags=tags;/
123 122
 
124 123