Révision | 9e8ca94017191226987e6421590216c015e4a6f2 (tree) |
---|---|
l'heure | 2022-04-01 22:41:24 |
Auteur | badcoff33 <none@none> |
Commiter | badcoff33 |
update
@@ -16,9 +16,6 @@ function! run#close(ch) | ||
16 | 16 | unlet g:run_ani_winid |
17 | 17 | let dict_name = GetJobDictName(a:ch) |
18 | 18 | execute 'call setqflist([], "r", ' dict_name ')' |
19 | - if !empty(getqflist()) | |
20 | - clast | |
21 | - endif | |
22 | 19 | let text = "job done: "..eval(dict_name..'["title"]') |
23 | 20 | if eval(dict_name..'["popup"]') == 1 |
24 | 21 | let winid = lib#popup#top_left(text) |
@@ -18,24 +18,26 @@ let g:colors_name = 'apollo' | ||
18 | 18 | let s:white = '#FFFFFF' |
19 | 19 | let s:black = '#000000' |
20 | 20 | |
21 | -let s:bg1 = '#10203F' | |
22 | -let s:bg2 = '#263154' | |
23 | -let s:bg3 = '#344468' | |
24 | -let s:bg4 = '#48506F' | |
25 | -let s:silver1 = '#505860' | |
26 | -let s:silver2 = '#9098A0' | |
27 | -let s:silver3 = '#C0CBDF' | |
28 | -let s:silver4 = '#E0E8FE' | |
29 | -let s:green1 = '#22B363' | |
30 | -let s:green2 = '#30C15F' | |
31 | -let s:green3 = '#32E060' | |
32 | -let s:green4 = '#37FF6F' | |
33 | -let s:amber = '#C8C020' | |
34 | -let s:blue1 = '#5088D0' | |
35 | -let s:blue2 = '#60A0E8' | |
36 | -let s:blue3 = '#70B0F8' | |
37 | -let s:red1 = '#B82042' | |
38 | -let s:red2 = '#E84070' | |
21 | +let s:bg1 = "#10203F" | |
22 | +let s:bg2 = "#263154" | |
23 | +let s:bg3 = "#344468" | |
24 | +let s:bg4 = "#48506F" | |
25 | +let s:silver1 = "#505860" | |
26 | +let s:silver2 = "#9098A0" | |
27 | +let s:silver3 = "#C0CBDF" | |
28 | +let s:silver4 = "#E0E8FE" | |
29 | +let s:green_bg = "#226333" | |
30 | +let s:green1 = "#22B363" | |
31 | +let s:green2 = "#30C15F" | |
32 | +let s:green3 = "#32E070" | |
33 | +let s:green4 = "#37FF8F" | |
34 | +let s:blue_bg = "#2E4368" | |
35 | +let s:blue1 = "#5088D0" | |
36 | +let s:blue2 = "#60A0E8" | |
37 | +let s:blue3 = "#70B0F8" | |
38 | +let s:red1 = "#B82042" | |
39 | +let s:red2 = "#E84070" | |
40 | +let s:amber = "#C8C020" | |
39 | 41 | |
40 | 42 | let s:GuiFg = {str -> empty(str) ? "":"guifg=".str} |
41 | 43 | let s:GuiBg = {str -> empty(str) ? "":"guibg=".str} |
@@ -51,8 +53,8 @@ execute 'hi Terminal' s:GuiFg(s:blue2) s:GuiBg(s:bg2) | ||
51 | 53 | execute 'hi StatusLine' s:GuiFg(s:white) s:GuiBg(s:blue1) s:GuiAttr('NONE') |
52 | 54 | execute 'hi StatusLineNC' s:GuiFg(s:silver3) s:GuiBg(s:bg4) s:GuiAttr('NONE') |
53 | 55 | execute 'hi VertSplit' s:GuiFg(s:bg2) s:GuiBg(s:bg2) s:GuiAttr('NONE') |
54 | -execute 'hi IncSearch' s:GuiFg(s:black) s:GuiBg(s:silver4) s:GuiAttr('bold') | |
55 | -execute 'hi Search' s:GuiFg(s:white) s:GuiBg(s:blue1) s:GuiAttr('NONE') | |
56 | +execute 'hi IncSearch' s:GuiFg(s:green3) s:GuiBg(s:green_bg) s:GuiAttr('bold') | |
57 | +execute 'hi Search' s:GuiFg(s:blue3) s:GuiBg(s:blue_bg) s:GuiAttr('NONE') | |
56 | 58 | execute 'hi MatchParen' s:GuiFg(s:green3) s:GuiBg('bg') s:GuiAttr('underline') |
57 | 59 | execute 'hi QuickFixLine' s:GuiFg(s:amber) s:GuiBg("bg") s:GuiAttr('bold') |
58 | 60 | execute 'hi Cursor' s:GuiFg(s:black) s:GuiBg(s:amber) |
@@ -7,6 +7,7 @@ vcs_cmd_clone = "hg clone -q" | ||
7 | 7 | vcs_cmd_pull = "hg pull -q" |
8 | 8 | |
9 | 9 | git_dict = { |
10 | + "pack/github/opt/bufstop": "git@github.com:mihaifm/bufstop.git", | |
10 | 11 | "pack/github/start/buffergator": "git@github.com:jeetsukumaran/vim-buffergator.git", |
11 | 12 | "pack/github/start/easy-align": "git@github.com:junegunn/vim-easy-align.git", |
12 | 13 | "pack/github/opt/colorizer": "git@github.com:lilydjwg/colorizer.git", |
@@ -9,7 +9,9 @@ g:netrw_winsize = 25 | ||
9 | 9 | g:netrw_preview = 1 |
10 | 10 | |
11 | 11 | # BUFFERGATOR |
12 | +g:buffergator_suppress_keymaps = 1 | |
12 | 13 | g:buffergator_autoexpand_on_split = 0 |
14 | +nnoremap <silent> <Leader>b <cmd>BuffergatorToggle<CR> | |
13 | 15 | |
14 | 16 | # EASYALIGN |
15 | 17 | # Start interactive EasyAlign in visual mode (e.g. vipga) |
@@ -168,8 +168,6 @@ cnoremap <expr> <A-,> $USERPROFILE..g:path_sep..'vimfiles'..g:path_sep | ||
168 | 168 | imap <C-CR> <C-]> |
169 | 169 | cmap <C-CR> <C-]> |
170 | 170 | |
171 | -nnoremap <PageDown> :cnext<CR> | |
172 | -nnoremap <PageUp> :cprevious<CR> | |
173 | 171 | nnoremap <C-j> :cnext<CR> |
174 | 172 | nnoremap <C-k> :cprevious<CR> |
175 | 173 | nnoremap n nzzzv |
@@ -214,8 +212,8 @@ vnoremap <Leader>r :s///gI<Left><Left><Left><Left> | ||
214 | 212 | |
215 | 213 | """ quickfix |
216 | 214 | nnoremap <Leader>c :clist!<CR> |
217 | -nnoremap <Leader>q :botright copen<CR>G | |
218 | -nnoremap <Leader>Q :cclose<CR> | |
215 | +nnoremap <Leader>q :botright copen<CR> | |
216 | +nnoremap <Leader>Q :botright copen<CR>G | |
219 | 217 | |
220 | 218 | """ zoom current buffer in seperate tab |
221 | 219 | nnoremap <Leader>z :tabedit %<CR> |