summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorMitsuo Tokumori <mitsuo@aspi5>2019-11-07 21:55:12 -0500
committerMitsuo Tokumori <mitsuo@aspi5>2019-11-07 21:55:12 -0500
commit0d0c97e1bef76638d17e380f54a4f8e8d748647f (patch)
tree6fd3fe1eed7dff026e994134c6bd35fb0fc2564b /vimrc
parent5910706b276ec98ddfa8e7a9a99c0252d71d111c (diff)
downloaddotfiles-0d0c97e1bef76638d17e380f54a4f8e8d748647f.tar.gz
dotfiles-0d0c97e1bef76638d17e380f54a4f8e8d748647f.tar.bz2
dotfiles-0d0c97e1bef76638d17e380f54a4f8e8d748647f.zip
Added bash and Vim "RunCommand" files
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc48
1 files changed, 48 insertions, 0 deletions
diff --git a/vimrc b/vimrc
new file mode 100644
index 0000000..e1ba892
--- /dev/null
+++ b/vimrc
@@ -0,0 +1,48 @@
+" Shit that gets disabled because I created this file
+set nocompatible
+filetype indent plugin on
+syntax on
+set wildmenu
+set showcmd
+
+" Numbers
+set number
+
+" Search
+set hlsearch
+
+" Indentation
+set tabstop=8
+set softtabstop=4
+set shiftwidth=4
+set noexpandtab
+set smarttab
+set autoindent
+set smartindent
+
+" Word wrap
+set wrap
+set linebreak
+" Set textwidth when you know how to quickly 'justify' comments or block of
+" text. This is a really nice feature, but how can I edit C comments without
+" leaving some lines short?
+" set textwidth=80
+" set wrapmargin=0
+" set formatoptions-=t
+
+" Other settings
+" ==============
+set mouse=a
+" set cmdheight=1
+" Always display the status line, even if only one window is displayed
+set laststatus=2
+set ruler
+
+" Mappings
+" ========
+map <F7> :tabp<CR>
+map <F8> :tabn<CR>
+
+" ? Map <C-L> (redraw screen) to also turn off search highlighting until the
+" next search
+nnoremap <C-L> :nohl<CR><C-L>