Created
September 26, 2017 05:53
-
-
Save iamajvillalobos/1dd0be76d8fb28e14367977a5e8dda50 to your computer and use it in GitHub Desktop.
neovim config file
This file contains hidden or 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
" Plugins | |
call plug#begin('~/.config/nvim/plugged') | |
Plug 'ayu-theme/ayu-vim' | |
Plug 'elixir-lang/vim-elixir' | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug 'junegunn/fzf.vim' | |
Plug 'pbrisbin/vim-mkdir' | |
Plug 'tpope/vim-endwise' | |
Plug 'tpope/vim-rails' | |
Plug 'tpope/vim-surround' | |
Plug 'vim-ruby/vim-ruby' | |
Plug 'vim-scripts/tComment' | |
Plug 'w0rp/ale' | |
call plug#end() | |
" Theme Settings | |
set termguicolors | |
let ayucolor="mirage" | |
colorscheme ayu | |
" Editor Settings | |
" Set leader key so <space> | |
let mapleader = " " | |
" Softtabs, 2 spaces | |
set tabstop=2 | |
set shiftwidth=2 | |
set shiftround | |
set expandtab | |
" Make it obvious where line 80 ends | |
set textwidth=80 | |
set colorcolumn=+1 | |
" Display line numbers | |
set number | |
" Make splitting more natural | |
set splitbelow | |
set splitright | |
" Easier pane movement, remove 'w' key | |
nnoremap <C-j> <C-w>j | |
nnoremap <C-k> <C-w>k | |
nnoremap <C-h> <C-w>h | |
nnoremap <C-l> <C-w>l | |
" Ctrl+p shortcut for fuzzy search | |
map <C-p> :Files<CR> | |
" Yanking files copies to clipboard | |
set clipboard=unnamedplus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment