• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision76cdf31083cddb508e94c8a34a1202ba77b55df6 (tree)
l'heure2022-04-08 17:32:26
Auteurbadcoff33 <none@none>
Commiterbadcoff33

Message de Log

use mouse actions in terminals to toggle between insert/normal

Change Summary

Modification

--- a/vimrc
+++ b/vimrc
@@ -153,6 +153,7 @@ tnoremap <S-Down> <C-\><C-n><C-w>j
153153
154154 " To map <Esc> to exit terminal-mode: >
155155 tnoremap <Esc> <C-\><C-n>
156+tnoremap <LeftMouse> <C-\><C-n>
156157
157158 " Line bubbling
158159 nnoremap <A-j> <cmd>move .+1<CR>==
@@ -243,16 +244,13 @@ command! -nargs=0 SC :set ignorecase smartcase
243244 augroup init
244245 autocmd!
245246 autocmd BufEnter * if &pvw | setlocal nonu nornu | endif
246- autocmd TerminalOpen * setlocal signcolumn=no nonumber norelativenumber foldcolumn=0
247- autocmd SourcePost vimrc runtime plugins.vim
248247 autocmd VimEnter * execute "colorscheme "..( (&term == "builtin_gui") ? "twotone" : "apollo" )
249248 " Reload changed buffers. Command rely on 'autoread'. FocusedGained works only on same terminals
250249 autocmd BufEnter * :checktime
251250 augroup END
252251
253-
254252 let g:term = &term
255-
256253 syntax on
257254
255+runtime plugins.vim
258256 " vim:sw=2:tw=78:nocindent:foldmethod=marker:nofen: