• 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évision8b62d90504229ad2aabc0d836881fc42ad8da280 (tree)
l'heure2022-04-01 03:20:35
Auteurbadcoff33 <none@none>
Commiterbadcoff33

Message de Log

update files

Change Summary

Modification

--- a/after/ftplugin/help.vim
+++ b/after/ftplugin/help.vim
@@ -11,6 +11,7 @@ nnoremap <buffer> K :help <C-r><C-w><CR>
1111
1212 " Close help again
1313 nmap <silent> <buffer> <Esc> :bd<CR>
14+nmap <silent> <buffer> q :bd<CR>
1415
1516 " Show value of 'option' under cursor
1617 nnoremap <buffer> <LocalLeader>o :set <C-r>=substitute(expand("<cword>"), "[^a-z]", "", "g")<CR>?<CR>
--- a/after/ftplugin/qf.vim
+++ b/after/ftplugin/qf.vim
@@ -18,4 +18,5 @@ let b:undo_ftplugin = "setlocal number< relativenumber< wrap< scrolloff<"
1818 setlocal nonumber norelativenumber nowrap scrolloff=0
1919
2020 nnoremap <buffer> <Esc> :cclose<CR>
21+nnoremap <buffer> q :cclose<CR>
2122
--- a/colors/apollo.vim
+++ b/colors/apollo.vim
@@ -42,7 +42,7 @@ let s:GuiBg = {str -> empty(str) ? "":"guibg=".str}
4242 let s:GuiAttr = {str -> empty(str) ? "":"gui=".str}
4343
4444 " Basics
45-execute 'hi Normal' s:GuiFg(s:silver3) s:GuiBg(s:bg1) s:GuiAttr('NONE')
45+execute 'hi Normal' s:GuiFg(s:silver4) s:GuiBg(s:bg1) s:GuiAttr('NONE')
4646 execute 'hi Bold' s:GuiFg(s:silver2) s:GuiAttr('bold')
4747 execute 'hi Italic' s:GuiFg(s:silver2) s:GuiAttr('italic')
4848 execute 'hi NonText' s:GuiFg(s:blue1) s:GuiBg(s:bg1)
--- a/pack_update.bat
+++ b/pack_update.bat
@@ -7,11 +7,12 @@ vcs_cmd_clone = "hg clone -q"
77 vcs_cmd_pull = "hg pull -q"
88
99 git_dict = {
10- "pack/github/start/easy-align": "git@github.com:junegunn/vim-easy-align.git",
11- "pack/github/start/colorizer": "git@github.com:lilydjwg/colorizer.git",
12- "pack/github/opt/vista": "git@github.com:liuchengxu/vista.vim.git",
13- "pack/github/opt/signify": "git@github.com:mhinz/vim-signify.git",
14- "pack/github/opt/wordy": "git@github.com:preservim/vim-wordy.git" }
10+ "pack/github/start/buffergator": "git@github.com:jeetsukumaran/vim-buffergator.git",
11+ "pack/github/start/easy-align": "git@github.com:junegunn/vim-easy-align.git",
12+ "pack/github/opt/colorizer": "git@github.com:lilydjwg/colorizer.git",
13+ "pack/github/opt/vista": "git@github.com:liuchengxu/vista.vim.git",
14+ "pack/github/start/signify": "git@github.com:mhinz/vim-signify.git",
15+ "pack/github/opt/wordy": "git@github.com:preservim/vim-wordy.git" }
1516
1617 for subdir in git_dict:
1718 git_url = git_dict[subdir]
--- a/plugins.vim
+++ b/plugins.vim
@@ -1,64 +1,70 @@
1-" Netrw variables
2-let g:netrw_use_errorwindow = 0
3-let g:netrw_banner = 0
4-let g:netrw_liststyle = 3
5-let g:netrw_browse_split = 0
6-let g:netrw_altv = 1
7-let g:netrw_winsize = 25
8-let g:netrw_preview = 1
1+vim9script
2+# NETRW variables
3+g:netrw_use_errorwindow = 0
4+g:netrw_banner = 0
5+g:netrw_liststyle = 3
6+g:netrw_browse_split = 0
7+g:netrw_altv = 1
8+g:netrw_winsize = 25
9+g:netrw_preview = 1
910
10-" Start interactive EasyAlign in visual mode (e.g. vipga)
11+# BUFFERGATOR
12+g:buffergator_autoexpand_on_split = 0
13+
14+# EASYALIGN
15+# Start interactive EasyAlign in visual mode (e.g. vipga)
1116 xmap <Leader>a <Plug>(EasyAlign)
12-" Start interactive EasyAlign for a motion/text object (e.g. gaip)
17+# Start interactive EasyAlign for a motion/text object (e.g. gaip)
1318 nmap <Leader>a <Plug>(EasyAlign)
1419
15-let g:dircfg =
16- \ {
17- \ 'HVH1x0_2_0': [
18- \ 'command! -nargs=0 CtagsCommand Ctags -R C_Application C_CDD C_AUTOSAR/Sources C:/Daten/Common_3P/comp_SBC_UJA116x/1.3.1',
19- \ 'nnoremap <C-CR> :<C-u>Rg -tc -tcmake <C-r><C-w> . C:/Daten/Common_3P/comp_SBC_UJA116x/1.3.1<CR>',
20- \ 'set grepprg=rg\ --vimgrep\ -g\ *.[ch]\ $*',
21- \ 'set path=C_AUTOSAR/**,C_Application/**,C_CDD/**,C_HvUnit/**,,',
22- \ 'set tagcase=match',
23- \ 'compiler ghs'
24- \ ],
25- \ 'RL78_data_flash': [
26- \ 'command! -nargs=0 CtagsCommand Ctags -R main xcpbasicdrv mcur5f10agf sbcata663431 NvmDriver',
27- \ 'nnoremap <C-CR> :<C-u>Rg -tc -tcmake <C-r><C-w> .',
28- \ 'set path=main,xcpbasicdrv,mcur5f10agf,sbcata663431,NvmDriver,NvmDriver/**,,',
29- \ 'set grepprg=rg\ --vimgrep\ -g\ *.[ch]\ $*',
30- \ 'set relativenumber',
31- \ 'compiler iar'
32- \ ],
33- \ 'RL78_evaluation': [
34- \ 'command! -nargs=0 CtagsCommand Ctags -R main xcpbasicdrv mcur5f10agf sbcata663431',
35- \ 'nnoremap <C-CR> :<C-u>Rg -tc -tcmake <C-r><C-w> .',
36- \ 'set path=main,xcpbasicdrv,mcur5f10agf,sbcata663431,,',
37- \ 'set grepprg=rg\ --vimgrep\ -g\ *.[ch]\ $*',
38- \ 'set relativenumber',
39- \ 'compiler iar'
40- \ ],
41- \ 'VIM':[
42- \ 'cd ~\vimfiles',
43- \ 'set path=pack/**,colors,after/**,,',
44- \ 'set relativenumber'
45- \ ]}
20+# DIRCFG
21+g:dircfg =
22+ {
23+ 'HVH1x0_2_0': [
24+ 'command! -nargs=0 CtagsCommand Ctags -R C_Application C_CDD C_AUTOSAR/Sources C:/Daten/Common_3P/comp_SBC_UJA116x/1.3.1',
25+ 'nnoremap <C-CR> :<C-u>Rg -tc -tcmake <C-r><C-w> . C:/Daten/Common_3P/comp_SBC_UJA116x/1.3.1<CR>',
26+ 'set grepprg=rg\ --vimgrep\ -g\ *.[ch]\ $*',
27+ 'set path=C_AUTOSAR/**,C_Application/**,C_CDD/**,C_HvUnit/**,,',
28+ 'set tagcase=match',
29+ 'compiler ghs'
30+ ],
31+ 'RL78_data_flash': [
32+ 'command! -nargs=0 CtagsCommand Ctags -R main xcpbasicdrv mcur5f10agf sbcata663431 NvmDriver',
33+ 'nnoremap <C-CR> :<C-u>Rg -tc -tcmake <C-r><C-w> .',
34+ 'set path=main,xcpbasicdrv,mcur5f10agf,sbcata663431,NvmDriver,NvmDriver/**,,',
35+ 'set grepprg=rg\ --vimgrep\ -g\ *.[ch]\ $*',
36+ 'set relativenumber',
37+ 'compiler iar'
38+ ],
39+ 'RL78_evaluation': [
40+ 'command! -nargs=0 CtagsCommand Ctags -R main xcpbasicdrv mcur5f10agf sbcata663431',
41+ 'nnoremap <C-CR> :<C-u>Rg -tc -tcmake <C-r><C-w> .',
42+ 'set path=main,xcpbasicdrv,mcur5f10agf,sbcata663431,,',
43+ 'set grepprg=rg\ --vimgrep\ -g\ *.[ch]\ $*',
44+ 'set relativenumber',
45+ 'compiler iar'
46+ ],
47+ 'VIM': [
48+ 'cd ~\vimfiles',
49+ 'set path=pack/**,colors,after/**,,',
50+ 'set relativenumber'
51+ ]}
4652
47-""" WORDY
53+# WORDY
4854
49-" Define your own ring of dictionaries, overriding the default one in your .vimrc:
50-let g:wordy#ring = [
51- \ 'weak',
52- \ ['being', 'passive-voice', ],
53- \ 'business-jargon',
54- \ 'weasel',
55- \ 'puffery',
56- \ ['problematic', 'redundant', ],
57- \ 'adjectives',
58- \ 'adverbs'
59- \ ]
55+# Define your own ring of dictionaries, overriding the default one in your .vimrc:
56+g:wordy#ring = [
57+ 'weak',
58+ ['being', 'passive-voice', ],
59+ 'business-jargon',
60+ 'weasel',
61+ 'puffery',
62+ ['problematic', 'redundant', ],
63+ 'adjectives',
64+ 'adverbs'
65+ ]
6066
61-" You can navigate the ring with the following commands:
62-" :NextWordy
63-" :PrevWordy
67+# You can navigate the ring with the following commands:
68+# :NextWordy
69+# :PrevWordy
6470
--- a/vimrc
+++ b/vimrc
@@ -168,6 +168,8 @@ cnoremap <expr> <A-,> $USERPROFILE..g:path_sep..'vimfiles'..g:path_sep
168168 imap <C-CR> <C-]>
169169 cmap <C-CR> <C-]>
170170
171+nnoremap <PageDown> :cnext<CR>
172+nnoremap <PageUp> :cprevious<CR>
171173 nnoremap <C-j> :cnext<CR>
172174 nnoremap <C-k> :cprevious<CR>
173175 nnoremap n nzzzv
@@ -194,7 +196,7 @@ set langmap=Ö\",ö:,ü{,ä},Ü[,Ä]
194196
195197 " set leader and localleader keys, that works best for me
196198 let mapleader = " "
197-let maplocalleader = "-"
199+let maplocalleader = "+"
198200
199201 """ quick note taking
200202 nnoremap <expr> <Leader>n ":drop "..strftime("~/Documents/Notes/note-%d-%m-%y.txt".."<CR>:setfiletype markdown<CR>")
@@ -215,9 +217,12 @@ nnoremap <Leader>c :clist!<CR>
215217 nnoremap <Leader>q :botright copen<CR>G
216218 nnoremap <Leader>Q :cclose<CR>
217219
220+""" zoom current buffer in seperate tab
221+nnoremap <Leader>z :tabedit %<CR>
222+nnoremap <Leader>x :tabclose<CR>
223+
218224 """ command line abbreviations
219225 cabbrev e edit
220-cabbrev t tabedit
221226 cabbrev f find
222227 cabbrev j tjump
223228 cabbrev b buffer