Last active
October 18, 2020 16:09
-
-
Save raulsalinas/bf188c41191a4ca5588f50704823a3f7 to your computer and use it in GitHub Desktop.
neovim config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set number | |
set mouse=a | |
set numberwidth=1 | |
set clipboard=unnamed | |
syntax enable | |
set showcmd | |
set ruler | |
set cursorline | |
set encoding=utf-8 | |
set showmatch | |
set sw=2 | |
set relativenumber | |
" Javascript | |
autocmd BufRead *.js set filetype=javascript.jsx | |
autocmd BufRead *.jsx set filetype=javascript.jsx | |
augroup filetype javascript syntax=javascript | |
call plug#begin('~/.vim/plugged') | |
" Themes | |
Plug 'morhetz/gruvbox' | |
" IDE | |
Plug 'easymotion/vim-easymotion' | |
"Tree | |
Plug 'scrooloose/nerdtree' | |
"Navegation | |
Plug 'christoomey/vim-tmux-navigator' | |
call plug#end() | |
colorscheme gruvbox | |
let g:gruvbox_contrast_dark="hard" | |
let NERDTreeQuitOnOpen=1 | |
set laststatus=2 | |
set noshowmode | |
let mapleader=" " | |
nmap <Leader>s <Plug>(easymotion-s2) | |
nmap <Leader>nt :NERDTreeFind<CR> | |
nmap <Leader>w :w<CR> | |
nmap <Leader>q :q<CR> | |
nmap <Leader>,/ :nohlsearch<CR> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:help nvim-from-vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set runtimepath^=~/.vim runtimepath+=~/.vim/after | |
let &packpath = &runtimepath | |
source ~/.vimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment