summary refs log tree commit diff
path: root/vimrc
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-07-01 10:30:31 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-07-01 10:30:31 -0700
commit3018e013be73ba486ed7832877343917e086a3ae (patch)
tree7a10dbddc921891a96b3bbb00dc870dd21554705 /vimrc
parent[emacs] Massive rewrite (diff)
downloademacs.d-3018e013be73ba486ed7832877343917e086a3ae.tar.gz
general cleanup
Remove vim and tmux
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc75
1 files changed, 0 insertions, 75 deletions
diff --git a/vimrc b/vimrc
deleted file mode 100644
index 8f0d1bf..0000000
--- a/vimrc
+++ /dev/null
@@ -1,75 +0,0 @@
-set encoding=utf-8
-scriptencoding utf-8
-
-set ttyfast       " assume fast terminal and send more chars for smooth redraw
-set lazyredraw    " don't redraw while executing macros, register and cmds
-
-let &statusline = '[%n] %<%F %m%r%w%y %= (%l,%c) %P of %L'
-set laststatus=2           " every window gets a statusline, always(=2)
-set scrolloff=5            " scroll edge offset (to keep some context)
-set shortmess=a            " abbreviate all(=a) messages when possible
-set showcmd                " show last command
-
-" search related settings
-set ignorecase smartcase   " case insensitive search if all lowercase
-set incsearch              " incrementally move to match and highlight
-set hlsearch               " highlight previous search pattern
-
-" backups
-set nobackup               " don't create annoying backup files
-
-" complete up to longest match and display the list of possible matches
-set wildmode=list:longest
-
-" Plugins
-call plug#begin('~/.local/share/nvim/plugged')
-
-Plug 'fatih/vim-go'
-
-Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }
-Plug 'junegunn/fzf.vim'
-Plug 'mileszs/ack.vim'
-
-Plug 'plasticboy/vim-markdown'
-
-call plug#end()
-
-" configure ack.vim to use silver surfer
-let g:ackprg = 'ag --vimgrep --smart-case'
-
-" configure vim-go
-let g:go_debug_windows = {
-      \ 'vars':  'leftabove 35vnew',
-      \ 'stack': 'botright 10new',
-\ }
-
-" configure fzf plugin
-let g:fzf_command_prefix = 'Fzf'
-let g:fzf_layout = { 'down': '~20%' }
-
-nmap <C-p> :FzfHistory<cr>
-imap <C-p> <esc>:<C-u>FzfHistory<cr>
-
-nmap <C-b> :FzfFiles<cr>
-imap <C-b> <esc>:<C-u>FzfFiles<cr>
-
-" Python settings
-autocmd BufNewFile,BufRead *.py   setlocal tabstop=2 softtabstop=2 shiftwidth=2 textwidth=100 smarttab expandtab
-
-" JSON settings
-autocmd BufNewFile,BufRead *.json setlocal tabstop=2 softtabstop=2 expandtab
-
-" Dockerfile settings
-autocmd FileType dockerfile setlocal noexpandtab
-
-" Go settings
-autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=2 shiftwidth=2
-
-" Yaml settings
-autocmd BufNewFile,BufRead *.yml  setlocal expandtab tabstop=2 shiftwidth=2
-autocmd BufNewFile,BufRead *.yaml setlocal expandtab tabstop=2 shiftwidth=2
-
-" mapping
-imap jj <Esc>    " Exit on j
-
-syntax on