1
0
Fork 0

we mostly deal with new files in python 3, also comment out some old themes I barely ever use, I have enough plugins as it is

This commit is contained in:
Von Random 2015-03-06 03:24:40 +03:00
parent 11866a9ee5
commit c601a28564

13
vimrc
View file

@ -39,15 +39,13 @@ autocmd BufNewFile *.zsh 0put =\"#!/usr/bin/env zsh\<nl>\"|$
autocmd BufNewFile *.lua 0put =\"#!/usr/bin/env lua\<nl>\"|$ autocmd BufNewFile *.lua 0put =\"#!/usr/bin/env lua\<nl>\"|$
autocmd BufNewFile *.sh 0put =\"#!/usr/bin/env bash\<nl>\"|$ autocmd BufNewFile *.sh 0put =\"#!/usr/bin/env bash\<nl>\"|$
autocmd BufNewFile *.rb 0put =\"#!/usr/bin/env ruby\<nl>\"|$ autocmd BufNewFile *.rb 0put =\"#!/usr/bin/env ruby\<nl>\"|$
autocmd BufNewFile *.py 0put =\"#!/usr/bin/env python\<nl>\"|$ autocmd BufNewFile *.py 0put =\"#!/usr/bin/env python3\<nl>\"|$
autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\<nl>\use strict;\<nl>\use warnings;\<nl>\use feature 'say';\<nl>\"|$ autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\<nl>\use strict;\<nl>\use warnings;\<nl>\use feature 'say';\<nl>\"|$
" maps " maps
let mapleader = "," let mapleader = ","
nmap <Space> <C-W> nmap <Space> <C-W>
noremap <F1> <Esc> noremap <F1> <Esc>
"make it easier to exit insert mode
inoremap jk <Esc>
"clear search highlight "clear search highlight
nnoremap <Leader>/ :nohls<CR> nnoremap <Leader>/ :nohls<CR>
"make wrapped lines navigation easier "make wrapped lines navigation easier
@ -99,6 +97,7 @@ if v:version >= 700
Plugin 'tpope/vim-tbone' "tmux support Plugin 'tpope/vim-tbone' "tmux support
"Plugin 'xolox/vim-misc' "deps for lua-ftplugin "Plugin 'xolox/vim-misc' "deps for lua-ftplugin
"Plugin 'xolox/vim-lua-ftplugin' "lua stuff "Plugin 'xolox/vim-lua-ftplugin' "lua stuff
"Plugin 'vimacs'
" from vim.sf.net " from vim.sf.net
Plugin 'directionalWindowResizer' "resize windows with simple hotkeys Plugin 'directionalWindowResizer' "resize windows with simple hotkeys
@ -106,10 +105,10 @@ if v:version >= 700
" colorscheme ... " colorscheme ...
Plugin 'vdrandom/forked-solarized.vim' "solarized Plugin 'vdrandom/forked-solarized.vim' "solarized
Plugin 'morhetz/gruvbox' "gruvbox Plugin 'morhetz/gruvbox' "gruvbox
Plugin 'whatyouhide/vim-gotham' "gotham "Plugin 'whatyouhide/vim-gotham' "gotham
Plugin 'vim-scripts/strange' "strange "Plugin 'vim-scripts/strange' "strange
Plugin 'chriskempson/base16-vim' "base16 variety "Plugin 'chriskempson/base16-vim' "base16 variety
Plugin 'tomasr/molokai' "molokai "Plugin 'tomasr/molokai' "molokai
" syntax highlight plugins " syntax highlight plugins
Plugin 'puppetlabs/puppet-syntax-vim' "puppet Plugin 'puppetlabs/puppet-syntax-vim' "puppet