Browse Source

nvim parentheses plugin & screen script updated

master
arnaucube 5 years ago
parent
commit
4ebb61b783
2 changed files with 28 additions and 0 deletions
  1. +27
    -0
      init.vim
  2. +1
    -0
      screens-work-setup.sh

+ 27
- 0
init.vim

@ -9,6 +9,7 @@ Plug 'Raimondi/delimitMate'
Plug 'scrooloose/syntastic'
Plug 'scrooloose/nerdcommenter'
Plug 'majutsushi/tagbar'
Plug 'kien/rainbow_parentheses.vim'
" go
Plug 'fatih/vim-go' " Amazing combination of features.
@ -86,6 +87,32 @@ endif
set statusline=%F%m%r%h%w%=(%{&ff}/%Y)\ (line\ %l\/%L,\ col\ %c)\
" rainbow parentheses
let g:rbpt_colorpairs = [
\ ['brown', 'RoyalBlue3'],
\ ['Darkblue', 'SeaGreen3'],
\ ['darkgray', 'DarkOrchid3'],
\ ['darkgreen', 'firebrick3'],
\ ['darkcyan', 'RoyalBlue3'],
\ ['darkred', 'SeaGreen3'],
\ ['darkmagenta', 'DarkOrchid3'],
\ ['brown', 'firebrick3'],
\ ['gray', 'RoyalBlue3'],
\ ['black', 'SeaGreen3'],
\ ['darkmagenta', 'DarkOrchid3'],
\ ['Darkblue', 'firebrick3'],
\ ['darkgreen', 'RoyalBlue3'],
\ ['darkcyan', 'SeaGreen3'],
\ ['darkred', 'DarkOrchid3'],
\ ['red', 'firebrick3'],
\ ]
let g:rbt_max = 16
let g:rbpt_loadcmd_toggle = 0
au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces
" go
let g:go_auto_sameids = 1

+ 1
- 0
screens-work-setup.sh

@ -1 +1,2 @@
xrandr --auto
xrandr --output HDMI-2 --left-of eDP-1

Loading…
Cancel
Save