Skip to content

Instantly share code, notes, and snippets.

@raulsalinas
Last active October 18, 2020 16:09
Show Gist options
  • Save raulsalinas/bf188c41191a4ca5588f50704823a3f7 to your computer and use it in GitHub Desktop.
Save raulsalinas/bf188c41191a4ca5588f50704823a3f7 to your computer and use it in GitHub Desktop.
neovim config
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>
:help nvim-from-vim
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