-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
44 lines (33 loc) · 1.08 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
let g:vim_home_path = "~/.vim"
" General key remaps
nnoremap <SPACE> <Nop>
let mapleader = " "
" ============================================================================
" PLUGINS {{{
" ===========================================================================
" vim-plug: https://github.com/junegunn/vim-plug
call plug#begin()
" Lua utility functions
Plug 'nvim-lua/plenary.nvim'
" finder/picker/previewer/etc
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.1' }
" Look n feel
" Plug 'dracula/vim'
" Plug 'doums/darcula'
Plug 'elixir-editors/vim-elixir'
Plug 'preservim/nerdtree'
Plug 'preservim/nerdcommenter'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()
" }}}
" Nerd - tree configuration
" Set the root directory to the parent of the current opened file
let g:NERDTreeChDirMode = 2
:nnoremap <C-e> :NERDTreeToggle<CR>
" Nerdcommenter
filetype plugin on
" Telescope
nnoremap <leader>ff <cmd>Telescope find_files<cr>
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
nnoremap <leader>fb <cmd>Telescope buffers<cr>
nnoremap <leader>fh <cmd>Telescope help_tags<cr>