• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisionf73467c61ecad9c354e19079a9d625a80fc6ba11 (tree)
Time2023-04-25 16:26:06
Authorbadcoff33
Commiterbadcoff33

Log Message

Ctrl-L runs checktime

Change Summary

Incremental Difference

diff -r 7ce731e6eb4c -r f73467c61eca vimrc
--- a/vimrc Tue Apr 25 09:20:07 2023 +0200
+++ b/vimrc Tue Apr 25 09:26:06 2023 +0200
@@ -50,7 +50,7 @@
5050 set spelloptions=camel
5151
5252 " Set behavior for commands ':cc', ':cn', 'cp', etc.
53-set switchbuf=useopen,uselast
53+set switchbuf=usetab,uselast
5454
5555 " keep cursor line away from the upper and lower window border
5656 set scrolloff=2
@@ -60,10 +60,9 @@
6060 set sidescroll=8
6161 set sidescrolloff=3
6262
63-" window behavior
64-set nosplitbelow
63+" split window behavior
64+set splitbelow
6565 set splitright
66-set noequalalways
6766
6867 " folding
6968 set foldmethod=indent
@@ -137,7 +136,7 @@
137136 imap <C-Space> <Esc>
138137
139138 " Add blank lines
140-nnoremap <expr> <CR> &modifiable ? "i\<CR><C-f>" : "\<CR>"
139+nnoremap <expr> <CR> &modifiable ? "i\<CR>" : "\<CR>"
141140
142141 " Consistent cursor movement
143142 noremap! <A-Left> <Home>
@@ -236,7 +235,7 @@
236235
237236 " By default, <C-l> clears and redraws the screen (like :redraw!). The
238237 " following mapping does a little bit more to keep the screen sane.
239-nmap <C-l> :nohlsearch<cr>:diffupdate<cr>:redraw!<cr>
238+nmap <C-l> <Cmd>nohlsearch<CR><Cmd>diffupdate<CR><Cmd>redraw!<CR><Cmd>checktime<CR>
240239 imap <C-l> <Esc><C-l>
241240
242241 " Type a word, press below key sequence and "Enclose" `current` (word) {bang}!
@@ -297,8 +296,6 @@
297296
298297 augroup GroupVimrc " {{{
299298 autocmd!
300- autocmd InsertEnter * checktime
301- autocmd BufWinEnter * checktime
302299 autocmd VimEnter * execute "colorscheme" ( (&term == "builtin_gui") ? "twotone" : "apollo" )
303300 "autocmd FocusLost * try | silent wall | catch /.*/ | endtry
304301 autocmd BufNewFile .vimrc execute "0read" g:vim_home.."\\templates\\local_vimrc"