Forced to use vim an an IDE again
This commit is contained in:
parent
1386fd569c
commit
223d300dea
1 changed files with 7 additions and 14 deletions
21
shell/.vimrc
21
shell/.vimrc
|
@ -5,20 +5,18 @@ let mapleader=' '
|
||||||
nnoremap <SPACE> <Nop>
|
nnoremap <SPACE> <Nop>
|
||||||
vnoremap < <gv
|
vnoremap < <gv
|
||||||
vnoremap > >gv
|
vnoremap > >gv
|
||||||
nnoremap = :FormatXML<Cr>
|
|
||||||
map <Up> <Nop>
|
map <Up> <Nop>
|
||||||
map <Right> <Nop>
|
map <Right> <Nop>
|
||||||
map <Down> <Nop>
|
map <Down> <Nop>
|
||||||
map <Left> <Nop>
|
map <Left> <Nop>
|
||||||
|
|
||||||
|
|
||||||
"" Vim Config
|
"" Vim Config
|
||||||
" Set completeopt to have a better completion experience
|
" Set completeopt to have a better completion experience
|
||||||
set completeopt=menuone,noinsert,noselect
|
set completeopt=menu,noinsert
|
||||||
" Avoid showing message extra message when using completion
|
" Avoid showing message extra message when using completion
|
||||||
set shortmess+=c
|
set shortmess=a
|
||||||
" Add clipboard support
|
" Add clipboard support
|
||||||
set clipboard^=unnamed,unnamedplus
|
set clipboard=unnamedplus
|
||||||
|
|
||||||
" Enable syntax highlighting
|
" Enable syntax highlighting
|
||||||
syntax on
|
syntax on
|
||||||
|
@ -46,18 +44,13 @@ set relativenumber
|
||||||
"" Plugins
|
"" Plugins
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
Plug 'ghifarit53/tokyonight-vim'
|
Plug 'ghifarit53/tokyonight-vim'
|
||||||
Plug 'justinmk/vim-sneak'
|
Plug 'mfussenegger/nvim-dap'
|
||||||
Plug 'mattn/emmet-vim'
|
Plug 'mrcjkb/rustaceanvim'
|
||||||
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
|
Plug 'junegunn/fzf.vim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
set path+=**
|
|
||||||
set wildmenu
|
|
||||||
|
|
||||||
"" Theme
|
"" Theme
|
||||||
let g:tokyonight_style='night'
|
let g:tokyonight_style='night'
|
||||||
let g:tokyonight_enable_italic=0
|
let g:tokyonight_enable_italic=0
|
||||||
colorscheme tokyonight
|
colorscheme tokyonight
|
||||||
|
|
||||||
"" Other
|
|
||||||
com! FormatXML :%!python3 -c "import xml.dom.minidom, sys; print(xml.dom.minidom.parse(sys.stdin).toprettyxml())"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue