Browse Source

gvimrc is back, vimrc tweaks

Von Random 7 months ago
parent
commit
7cfec077c1
2 changed files with 16 additions and 21 deletions
  1. 9
    0
      gvimrc
  2. 7
    21
      vimrc

+ 9
- 0
gvimrc View File

@@ -0,0 +1,9 @@
1
+if has('win32')
2
+    set guifont=Fantasque_Sans_Mono:h11
3
+else
4
+    set guifont=Fantasque\ Sans\ Mono\ 11
5
+endif
6
+set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
7
+set guiheadroom=0 guioptions=aei mouse=a noerrorbells visualbell t_vb=
8
+map <S-Insert> <MiddleMouse>
9
+map! <S-Insert> <MiddleMouse>

+ 7
- 21
vimrc View File

@@ -55,9 +55,6 @@ nnoremap <Leader>s :w<CR>
55 55
 if v:version >= 800
56 56
     set breakindent
57 57
 
58
-    " FZF map
59
-    nmap <Leader><Tab> :FZF<CR>
60
-
61 58
     " easy-align options
62 59
     xmap <Leader>a <Plug>(EasyAlign)
63 60
     nmap <Leader>a <Plug>(EasyAlign)
@@ -67,27 +64,16 @@ if v:version >= 800
67 64
         packadd vimwiki
68 65
     endif
69 66
     autocmd FileType python packadd jedi-vim | packadd ale
67
+    autocmd FileType sh packadd ale
70 68
 
71 69
     " yaaay themes
72
-    " if has('gui_running') || $TERM =~ '^\(rxvt\|st\|tmux\|xterm\)'
73
-    "     let &t_8f = "\033[38;2;%lu;%lu;%lum"
74
-    "     let &t_8b = "\033[48;2;%lu;%lu;%lum"
75
-    "     set termguicolors
76
-    " endif
77
-    set bg=light
78
-    colorscheme PaperColor
79
-endif
80
-
81
-if has('gui_running')
82
-    if has('win32')
83
-        set guifont=Fantasque_Sans_Mono:h11
84
-    else
85
-        set guifont=Fantasque\ Sans\ Mono\ 11
70
+    if $TERM =~ '^\(rxvt\|st\|tmux\|xterm\)'
71
+        let &t_8f = "\033[38;2;%lu;%lu;%lum"
72
+        let &t_8b = "\033[48;2;%lu;%lu;%lum"
73
+        set termguicolors
86 74
     endif
87
-    set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
88
-    set guiheadroom=0 guioptions=aei mouse=a noerrorbells visualbell t_vb=
89
-    map <S-Insert> <MiddleMouse>
90
-    map! <S-Insert> <MiddleMouse>
75
+    set bg=dark
76
+    colorscheme gruvbox8
91 77
 endif
92 78
 
93 79
 syntax on

Loading…
Cancel
Save