1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +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
url = git@github.com:sekel/vim-vue-syntastic.git
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 = {
\ 'colorscheme': 'snazzy',
\ '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
set number
set foldlevel=99999
@ -12,5 +29,9 @@ set shiftwidth=2
set tabstop=2
set nofoldenable
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 <C-W>` gg=G<C-o><C-o>
autocmd FileType vue syntax sync fromstart

1
my_plugins/vim-liquid Submodule

@ -0,0 +1 @@
Subproject commit 209f77c9550a90b0b88492c93852195c171f6ebd

@ -1 +1 @@
Subproject commit ec1c94306953b678bb36572897bd218fe6c76506
Subproject commit fbc2af9e820d85e17cd08023f4dcc66545735d58

@ -1 +1 @@
Subproject commit c4eb6e1469bcb48d77e0426e9c747a6bcc7b2014
Subproject commit ac23bd95d5fe0c7a7bf4a331e9d37eb72697c46e

@ -1 +1 @@
Subproject commit 88b88fe5342e1155e93d35beeb10b6e4c36d6e86
Subproject commit 30b7fc882d94687a98243dbc9c649a4f6a356001

View File

@ -263,7 +263,7 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
set laststatus=2
" 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')}
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""