From 29b0a5c47862f387c5905a85d2c03e056003b915 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 23 Apr 2020 22:44:32 -0400 Subject: auto push --- modules/general.vim | 117 ---------------------------------------------------- 1 file changed, 117 deletions(-) delete mode 100644 modules/general.vim (limited to 'modules/general.vim') diff --git a/modules/general.vim b/modules/general.vim deleted file mode 100644 index 178e19f3..00000000 --- a/modules/general.vim +++ /dev/null @@ -1,117 +0,0 @@ -" Be IMproved -if &compatible - set nocompatible -endif - -" set leader key -let g:mapleader = "\" -" set local leader key -let g:maplocalleader = ',' - -syntax enable " Enables syntax highlighing -"set hidden " Required for specific actions that require multiple buffers -set nowrap " display long lines as just one line -set encoding=utf-8 " The encoding displayed -set pumheight=10 " Makes popup menu smaller -set fileencoding=utf-8 " The encoding written to file -set ruler " show the cursor position all the time -set cmdheight=2 " always keep this at 2" -set iskeyword+=- " treat dash separated words as a word text object" -set mouse=a " Enable your mouse -set splitbelow " Horizontal splits will automatically be below -set splitright " Vertical splits will automatically be to the right -set t_Co=256 " Support 256 colors -"set autochdir " Your working directory will always be the same as your working directory -set conceallevel=0 " So that I can see `` in markdown files -set tabstop=2 " Insert 2 spaces for a tab -set shiftwidth=2 " Change the number of space characters inserted for indentation -set smarttab " Makes tabbing smarter will realize you have 2 vs 4 -set expandtab " Converts tabs to spaces -set smartindent " Makes indenting smart -set autoindent " Good auto indent -set laststatus=0 " Always display the status line -set number " Line numbers -set cursorline " Enable highlighting of the current line -set background=dark " tell vim what the background color looks like - -let g:elite_mode=1 " Disable arrows" -filetype plugin indent on " Gives vim abilty to recognize filetypes - -" Disable arrow movement, resize splits instead. -if get(g:, 'elite_mode') - nnoremap :resize -2 - nnoremap :resize +2 - nnoremap :vertical resize -2 - nnoremap :vertical resize +2 -endif - -" Alternate way to save -nnoremap :w -" Alternate way to quit -nnoremap :wq! -" Use control-c instead of escape -nnoremap -" : completion. -inoremap pumvisible() ? "\" : "\" -" Open terminal with F1 -nnoremap :10split term://bash -nnoremap :bdelete! term://* - -inoremap K -nnoremap J - -nnoremap h -nnoremap j -nnoremap k -nnoremap l -" Remap terminal switch -tnoremap -tnoremap -tnoremap h -tnoremap j -tnoremap k -tnoremap l - -nnoremap h -nnoremap j -nnoremap k -nnoremap l - -" I think this does something on mac but I might be full of shit -nnoremap h -nnoremap j -nnoremap k -nnoremap l - -" I hate escape more than anything else -inoremap jk -inoremap kj -" This is how much I hate it -"inoremap - -" Easy CAPS -inoremap viwUi -nnoremap viwU - - -" TAB in general mode will move to text buffer -nnoremap :VimwikiNextLink -" SHIFT-TAB will go back -nnoremap :VimwikiPrevLink - - -"nmap wn VimwikiNextLink -"nmap wp VimwikiPrevLink -" TAB in general mode will move to text buffer -nnoremap :bnext -" SHIFT-TAB will go back -nnoremap :bprevious - -" Copy paste between vim and everything else -set clipboard=unnamedplus - -" hold when tabbing -vnoremap < >gv - -cmap w!! w !sudo tee % -- cgit v1.2.3