-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
47 lines (40 loc) · 1.05 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
call plug#begin('~/.vim/plugged')
Plug 'arcticicestudio/nord-vim'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'itchyny/lightline.vim'
Plug 'tpope/vim-fugitive'
Plug 'editorconfig/editorconfig-vim'
Plug 'digitaltoad/vim-pug'
Plug 'wavded/vim-stylus'
Plug 'kchmck/vim-coffee-script'
Plug 'gkz/vim-ls'
call plug#end()
syntax on
filetype plugin indent on
set rtp+=~/.fzf
set tabstop=4
set shiftwidth=4
set laststatus=2
set clipboard+=unnamedplus
set backupcopy=yes
color nord
let g:lightline = {
\ 'colorscheme': 'nord',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'fugitive#head'
\ },
\ 'separator': { 'left': '', 'right': '' },
\ 'subseparator': { 'left': '', 'right': '' }
\ }
let mapleader="\<SPACE>"
nnoremap <Leader> <Nop>
nnoremap <Leader>p :FZF<CR>
nnoremap <Leader>t :Ag<CR>
nnoremap <Leader>hi :noh<CR>
nnoremap <Leader>nu :set nu!<CR>
nnoremap <Leader>e :Explore<CR>