mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
update vimrc
This commit is contained in:
parent
d21cb1cdb1
commit
ceabeeca7b
@ -1,4 +1,5 @@
|
||||
syntax on
|
||||
syntax enable
|
||||
filetype plugin on
|
||||
set noshowmode "disable default vim insert text at bottom
|
||||
set laststatus=2
|
||||
set number
|
||||
@ -22,13 +23,17 @@ set expandtab
|
||||
set cursorline
|
||||
set scrolloff=8
|
||||
set sidescrolloff=8
|
||||
" show candidates for vim commands with tab
|
||||
set wildmenu
|
||||
set wildmenu " show candidates for vim commands with tab
|
||||
set background=dark
|
||||
set showmatch
|
||||
set nocompatible " no more vi
|
||||
" set path from current directory and all directories under
|
||||
set path=$PWD/**
|
||||
|
||||
set encoding=UTF-8
|
||||
set guifont=FiraCode\ Nerd\ Font\ 18
|
||||
|
||||
|
||||
" lsp handled by coc
|
||||
let g:ale_disable_lsp = 1
|
||||
|
||||
@ -77,7 +82,6 @@ Plug 'vv9k/vim-github-dark'
|
||||
|
||||
call plug#end()
|
||||
|
||||
|
||||
"------------------------------------------------------------------------------
|
||||
" Enable :Man <man_page>
|
||||
"------------------------------------------------------------------------------
|
||||
@ -594,6 +598,7 @@ let g:floaterm_autoclose = 1
|
||||
command! Reload execute "source ~/.vimrc"
|
||||
command! Config execute ":e ~/.vimrc"
|
||||
command! Env execute ":Dotenv .env"
|
||||
command! MakeTags !ctags -R .
|
||||
"------------------------------------------------------------------------------
|
||||
"KEYBINDINGS
|
||||
"------------------------------------------------------------------------------
|
||||
@ -627,6 +632,8 @@ nmap <leader>gs :CocCommand fzf-preview.GitStatus<CR>
|
||||
" help
|
||||
nmap <leader>hc :CocCommand fzf-preview.CommandPalette<CR>
|
||||
nmap <leader>hk :Maps<CR>
|
||||
" insert snippets
|
||||
nmap <leader>isp :-1read $HOME/Templates/python.py<CR>4jw
|
||||
" any jump plugin
|
||||
nmap <leader>j :AnyJump<CR>
|
||||
" toggle/open
|
||||
|
Loading…
Reference in New Issue
Block a user