Skip to content

Instantly share code, notes, and snippets.

@rlucha
Created April 4, 2019 12:22
Show Gist options
  • Save rlucha/e0d8a35a133e9361cb2acd87613e7fea to your computer and use it in GitHub Desktop.
Save rlucha/e0d8a35a133e9361cb2acd87613e7fea to your computer and use it in GitHub Desktop.
let g:mapleader = "\<Space>"
set termguicolors
set autochdir
set number
set mouse=a
call plug#begin('~/.local/share/nvim/plugged')
Plug 'ayu-theme/ayu-vim'
Plug 'amiorin/vim-project'
Plug 'vim-airline/vim-airline'
Plug 'ayu-theme/ayu-vim-airline'
Plug 'pangloss/vim-javascript'
Plug 'mxw/vim-jsx'
Plug 'easymotion/vim-easymotion'
Plug 'majutsushi/tagbar'
Plug 'tpope/vim-fugitive'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'prettier/vim-prettier'
call plug#end()
let ayucolor="mirage"
colorscheme ayu
" easyMotion
nmap s <Plug>(easymotion-jumptoanywhere)
" FZF
map <c-p> :Files <CR>
" Terminal
:tnoremap <Esc> <C-\><C-n>
set tabstop=2
set shiftwidth=2
set expandtab
" Disable arrow keys
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
inoremap <Up> <Nop>
inoremap <Down> <Nop>
inoremap <Left> <Nop>
inoremap <Right> <Nop>
" Second player keys
noremap i k
noremap k j
noremap j h
noremap h i
noremap <M-l> w
noremap <M-j> b
noremap <D-l> $
noremap <D-j> ^
" Project
let g:project_enable_welcome = 1
let g:project_use_nerdtree = 1
set rtp+=~/.vim/bundle/vim-project/
call project#rc("~/Projects")
Project 'Gradle/dotcom/scans-ui'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment