+ Add vim_idea
This commit is contained in:
parent
e7abdae8ae
commit
3197fb684c
5 changed files with 8 additions and 3 deletions
0
.config/vim/vim_idea
Normal file
0
.config/vim/vim_idea
Normal file
|
@ -100,7 +100,7 @@ Plug 'dense-analysis/ale'
|
|||
" --- For rust
|
||||
Plug 'rust-lang/rust.vim'
|
||||
|
||||
Plug 'wakatime/vim-wakatime'
|
||||
" Plug 'wakatime/vim-wakatime'
|
||||
|
||||
call plug#end()
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ syntax on
|
|||
filetype indent plugin on
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
let mapleader=" "
|
||||
set guifont=Iosevka:h15
|
||||
|
||||
" ----- Folding stuff
|
||||
set foldnestmax=10
|
||||
|
@ -72,6 +73,9 @@ function! TwiddleCase(str)
|
|||
endfunction
|
||||
vnoremap ~ y:call setreg('', TwiddleCase(@"), getregtype(''))<CR>gv""Pgv
|
||||
|
||||
" Format with by pressing Q useful for markdown / other markup languages
|
||||
map Q gq
|
||||
|
||||
" ----- 'vim -b' = edit binary using xxd-format!
|
||||
augroup Binary
|
||||
au!
|
||||
|
@ -93,6 +97,7 @@ autocmd Filetype html set ai sw=4 ts=4 sta et fo=croql
|
|||
autocmd Filetype css set ai sw=4 ts=4 sta et fo=croql
|
||||
autocmd Filetype javascript set ai sw=4 ts=4 sta et fo=croql
|
||||
autocmd Filetype vue set ai sw=4 ts=4 sta et fo=croql
|
||||
autocmd Filetype php set ai sw=4 ts=4 sta et fo=croql
|
||||
|
||||
" ----- Auto refresh vimrc
|
||||
augroup myvimrc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue