add some vim options
parent
1eda8b35d6
commit
dcb74cc89a
19
.vimrc
19
.vimrc
|
@ -1,6 +1,6 @@
|
|||
call plug#begin('~/.vim/plugged')
|
||||
source /etc/vim/vimrc
|
||||
|
||||
" https://github.com/junegunn/vim-easy-align
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'junegunn/vim-easy-align'
|
||||
Plug 'preservim/nerdtree' | Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'w0rp/ale'
|
||||
|
@ -19,6 +19,7 @@ Plug 'elixir-editors/vim-elixir'
|
|||
Plug 'jlanzarotta/bufexplorer'
|
||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
call plug#end()
|
||||
|
||||
set nocompatible
|
||||
set history=1000
|
||||
|
@ -28,7 +29,6 @@ set scrolloff=3
|
|||
set ttyfast
|
||||
set laststatus=2
|
||||
set ff=unix
|
||||
"set number
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
set softtabstop=2
|
||||
|
@ -38,6 +38,17 @@ set list
|
|||
set noshowmode
|
||||
set hlsearch
|
||||
set incsearch
|
||||
set visualbell
|
||||
set noerrorbells
|
||||
set whichwrap=<,>,[,],b,
|
||||
set background=dark
|
||||
set backspace=indent,eol,start
|
||||
set number
|
||||
set autoread
|
||||
set mouse=a
|
||||
set nobackup
|
||||
set nowb
|
||||
set noswapfile
|
||||
syntax on
|
||||
let mapleader = " "
|
||||
|
||||
|
@ -150,5 +161,3 @@ function! SetNewPassword()
|
|||
" Replace current word with a new random password of the same length
|
||||
call setline(line('.'), substitute(getline('.'), cur_word, new_password, ""))
|
||||
endfunction
|
||||
|
||||
call plug#end()
|
||||
|
|
Reference in New Issue