minor changes to vim and xinitrx
This commit is contained in:
parent
90cfa75ad0
commit
4e5c51a5dd
@ -14,13 +14,16 @@ set tabstop=4 softtabstop=4
|
|||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
|
|
||||||
|
set nowrap
|
||||||
|
|
||||||
" Plugin stuff "
|
" Plugin stuff "
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release', 'do': { -> coc#util#install()}}
|
Plug 'ryanoasis/vim-devicons'
|
||||||
|
Plug 'neoclide/coc.nvim'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'preservim/nerdtree'
|
Plug 'preservim/nerdtree', {'on': 'NERDTreeToggle'}
|
||||||
Plug 'arcticicestudio/nord-vim'
|
Plug 'arcticicestudio/nord-vim'
|
||||||
|
Plug 'mg979/vim-visual-multi'
|
||||||
Plug 'mbbill/undotree'
|
Plug 'mbbill/undotree'
|
||||||
Plug 'hugolgst/vimsence'
|
Plug 'hugolgst/vimsence'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
@ -37,23 +40,16 @@ let g:vimsence_editing_state = 'Working on: {}'
|
|||||||
" Keybinds "
|
" Keybinds "
|
||||||
let mapleader = " "
|
let mapleader = " "
|
||||||
|
|
||||||
"inoremap <silent><expr> <TAB>
|
" quickly move between editors
|
||||||
" \ pumvisible() ? "\<C-n>" :
|
|
||||||
" \ <SID>check_back_space() ? "\<TAB>" :
|
|
||||||
" \ coc#refresh()
|
|
||||||
"inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
|
||||||
|
|
||||||
"function! s:check_back_space() abort
|
|
||||||
" let col = col('.') - 1
|
|
||||||
" return !col || getline('.')[col - 1] =~# '\s'
|
|
||||||
"endfunction
|
|
||||||
|
|
||||||
"inoremap <silent><expr> <c-space> coc#refresh()
|
|
||||||
|
|
||||||
nnoremap <leader>h :wincmd h<CR>
|
nnoremap <leader>h :wincmd h<CR>
|
||||||
|
nnoremap <leader><Left> :wincmd h<CR>
|
||||||
nnoremap <leader>j :wincmd j<CR>
|
nnoremap <leader>j :wincmd j<CR>
|
||||||
|
nnoremap <leader><Down> :wincmd j<CR>
|
||||||
nnoremap <leader>k :wincmd k<CR>
|
nnoremap <leader>k :wincmd k<CR>
|
||||||
|
nnoremap <leader><Up> :wincmd k<CR>
|
||||||
nnoremap <leader>l :wincmd l<CR>
|
nnoremap <leader>l :wincmd l<CR>
|
||||||
|
nnoremap <leader><Right> :wincmd l<CR>
|
||||||
|
|
||||||
" Undotree "
|
" Undotree "
|
||||||
nnoremap <leader>u :UndotreeToggle<CR>
|
nnoremap <leader>u :UndotreeToggle<CR>
|
||||||
" NERDTree "
|
" NERDTree "
|
||||||
@ -62,3 +58,9 @@ nnoremap <leader>n :NERDTreeToggle<CR>
|
|||||||
" Exit Vim if NERDTree is the only window left.
|
" Exit Vim if NERDTree is the only window left.
|
||||||
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() |
|
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() |
|
||||||
\ quit | endif
|
\ quit | endif
|
||||||
|
|
||||||
|
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
let g:airline_theme = "nord"
|
||||||
|
|
||||||
|
let g:coc_global_extensions = ['coc-git', 'coc-tsserver', 'coc-clangd', 'coc-java', 'coc-sql', 'coc-spell-checker']
|
||||||
|
@ -44,6 +44,9 @@ picom -f &
|
|||||||
# restore wallpaper
|
# restore wallpaper
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
|
|
||||||
|
# fix java for java is being java....
|
||||||
|
export AWT_TOOLKIT=MToolkit
|
||||||
|
|
||||||
# execture dwm
|
# execture dwm
|
||||||
while true; do
|
while true; do
|
||||||
dwm >/dev/null 2>&1
|
dwm >/dev/null 2>&1
|
||||||
|
2
zsh/.oh-my-zsh/cache/.zsh-update
vendored
2
zsh/.oh-my-zsh/cache/.zsh-update
vendored
@ -1 +1 @@
|
|||||||
LAST_EPOCH=18651
|
LAST_EPOCH=18664
|
||||||
|
Loading…
Reference in New Issue
Block a user