Skip to content

Instantly share code, notes, and snippets.

@arafatamim
Created July 19, 2020 19:52
Show Gist options
  • Save arafatamim/75153449685671c5ab7145f718e63def to your computer and use it in GitHub Desktop.
Save arafatamim/75153449685671c5ab7145f718e63def to your computer and use it in GitHub Desktop.
set tabstop=2
set shiftwidth=2
set expandtab
"compiler fish
setlocal textwidth=79
"setlocal foldmethod=expr
call plug#begin('~/.nvim/plugins')
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-surround'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
"Plug 'jiangmiao/auto-pairs'
Plug 'blankname/vim-fish'
Plug 'tpope/vim-endwise'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()
inoremap <C-BS> <C-W>
let g:airline_theme='owo'
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction
inoremap <silent><expr><Tab>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<Tab>" :
\ coc#refresh()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment