Created
January 6, 2020 06:05
-
-
Save HarDToBelieve/7cb5ad1289a7e2892cda2dfd5b755bf6 to your computer and use it in GitHub Desktop.
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
syntax on | |
set ts=4 sw=4 | |
set number | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
set splitbelow | |
set splitright | |
map <F2> :vsp<CR> | |
map <F3> :sp<CR> | |
map <F4> :!xclip -f -sel clip<CR> | |
map <F5> :-1r !xclip -o -sel clip<CR> | |
set relativenumber | |
set autoindent | |
set ruler | |
set backspace=indent,eol,start | |
set smartindent | |
set smarttab | |
noremap <C-S> <esc>:w<CR> | |
vnoremap <C-S> <esc>:w<CR> | |
inoremap <C-S> <esc>:w<CR> | |
autocmd FileType python nnoremap <buffer> <C-B> :exec '!python' shellescape(@%, 1)<cr> | |
nnoremap # :s/^/# /<cr>:noh<cr> | |
vnoremap # :s/^/# /<cr>:noh<cr> | |
nnoremap -# :s/^# //<cr>:noh<cr> | |
vnoremap -# :s/^# //<cr>:noh<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment