Jelajahi Sumber

new gitgutter signs

Chris 5 tahun lalu
induk
melakukan
4b7c171466
3 mengubah file dengan 15 tambahan dan 0 penghapusan
  1. 1 0
      init.vim
  2. 13 0
      plug-config/gitgutter.vim
  3. 1 0
      themes/airline.vim

+ 1 - 0
init.vim

@@ -52,3 +52,4 @@ let g:polyglot_disabled = ['csv']
 " Python
 " https://realpython.com/python-debugging-pdb/ " breakpoint syntax is really cool
 " also look into profiling as well
+" let g:python_highlight_all=1

+ 13 - 0
plug-config/gitgutter.vim

@@ -0,0 +1,13 @@
+
+
+let g:gitgutter_sign_added              = '⏽'
+let g:gitgutter_sign_modified           = '⏽'
+let g:gitgutter_sign_removed            = '契'
+let g:gitgutter_sign_removed_first_line = '契'
+let g:gitgutter_sign_modified_removed   = '⏽'
+
+let g:gitgutter_enabled = 1
+
+highlight GitGutterAdd    guifg=#98c379 ctermfg=2
+highlight GitGutterChange guifg=#61afef ctermfg=3
+highlight GitGutterDelete guifg=#e06c75 ctermfg=1

+ 1 - 0
themes/airline.vim

@@ -42,5 +42,6 @@ set noshowmode
 " Sections
 " let g:airline_section_c = ''
 let g:airline_section_a = "Mach 2"
+" let g:airline_section_a = ""
 let g:airline_section_y = ''
 let g:webdevicons_enable_airline_tabline = 1