1
0
mirror of https://github.com/amix/vimrc synced 2025-07-07 00:15:00 +08:00

updates including tmux support

This commit is contained in:
Chris Morris
2019-12-27 15:21:00 -05:00
parent 89eaf97248
commit a26bd7d49f
7 changed files with 30 additions and 5 deletions

3
.gitmodules vendored
View File

@ -14,3 +14,6 @@
path = my_plugins/vim-vue-syntastic path = my_plugins/vim-vue-syntastic
url = git@github.com:sekel/vim-vue-syntastic.git url = git@github.com:sekel/vim-vue-syntastic.git
branch = master branch = master
[submodule "my_plugins/vim-liquid"]
path = my_plugins/vim-liquid
url = https://github.com/tpope/vim-liquid.git

View File

@ -2,9 +2,26 @@ colorscheme snazzy
let g:lightline = { let g:lightline = {
\ 'colorscheme': 'snazzy', \ 'colorscheme': 'snazzy',
\ 'active': { \ 'active': {
\ 'left': [ [ 'mode', 'paste' ], [ 'readonly', 'absolutepath', 'modified' ] ], \ 'component_function': {
\ 'gitbranch': 'fugitive#head'
\ },
\ 'left': [ [ 'mode', 'paste' ], [ 'gitbranch', 'readonly', 'absolutepath', 'modified' ] ],
\ } \ }
\ } \ }
let g:fzf_colors =
\ { 'fg': ['fg', 'Normal'],
\ 'bg': ['bg', 'Normal'],
\ 'hl': ['fg', 'Comment'],
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
\ 'hl+': ['fg', 'Statement'],
\ 'info': ['fg', 'PreProc'],
\ 'border': ['fg', 'Ignore'],
\ 'prompt': ['fg', 'Conditional'],
\ 'pointer': ['fg', 'Exception'],
\ 'marker': ['fg', 'Keyword'],
\ 'spinner': ['fg', 'Label'],
\ 'header': ['fg', 'Comment'] }
setlocal foldmethod=manual setlocal foldmethod=manual
set number set number
set foldlevel=99999 set foldlevel=99999
@ -12,5 +29,9 @@ set shiftwidth=2
set tabstop=2 set tabstop=2
set nofoldenable set nofoldenable
set cursorline set cursorline
set termguicolors
let &t_8f = "\e[38;2;%lu;%lu;%lum"
let &t_8b = "\e[48;2;%lu;%lu;%lum"
map <Leader>d :bufdo bd!<CR> map <Leader>d :bufdo bd!<CR>
map <C-W>` gg=G<C-o><C-o> map <C-W>` gg=G<C-o><C-o>
autocmd FileType vue syntax sync fromstart

1
my_plugins/vim-liquid Submodule

Submodule my_plugins/vim-liquid added at 209f77c955

View File

@ -263,7 +263,7 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
set laststatus=2 set laststatus=2
" Format the status line " Format the status line
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c\ TIME:\ %{strftime('%c')}
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""