2020-10-05 18:10:32 +00:00
|
|
|
" Syntax highlighting based on detected language
|
2019-04-18 19:25:11 +00:00
|
|
|
syntax on
|
2016-06-14 18:33:44 +00:00
|
|
|
|
2020-10-05 18:10:32 +00:00
|
|
|
" Iceberg theme - I also use this theme in VSCode
|
2020-10-05 15:30:49 +00:00
|
|
|
colorscheme iceberg
|
2019-04-18 19:25:11 +00:00
|
|
|
|
2020-10-05 18:10:32 +00:00
|
|
|
" Default GUI Window Geometry
|
|
|
|
if has("gui_running")
|
2020-10-05 22:02:00 +00:00
|
|
|
" Preferred window size
|
2020-10-05 18:10:32 +00:00
|
|
|
set lines=29 columns=105
|
|
|
|
endif
|
|
|
|
|
2020-10-05 22:02:00 +00:00
|
|
|
" Show tabs at the top of the editor
|
|
|
|
set showtabline=2
|
|
|
|
|
2020-10-05 18:10:32 +00:00
|
|
|
" Render newlines with '$'
|
|
|
|
" Render Tabs with '>-'
|
|
|
|
" Render Trailing Whitespace with '~'
|
|
|
|
" Extends and Precedes are for Line Wrapping
|
2019-04-18 19:25:11 +00:00
|
|
|
set list
|
2020-10-05 18:10:32 +00:00
|
|
|
set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<
|
|
|
|
|
|
|
|
" Turn on Line numbering
|
|
|
|
set number
|
2019-04-18 19:25:11 +00:00
|
|
|
|
2020-10-05 21:40:52 +00:00
|
|
|
" Highlight all strings that match search
|
|
|
|
set hlsearch
|
|
|
|
|
2020-10-05 18:10:32 +00:00
|
|
|
" Turn on Mouse Aware mode, does lots of stuff
|
|
|
|
" What we're most interested in is the fact that
|
|
|
|
" it won't let us highlight the line numbers
|
|
|
|
set mouse+=a
|
|
|
|
|
|
|
|
" Yank and Paste using the system clipboard
|
|
|
|
set clipboard=unnamedplus
|
|
|
|
|
|
|
|
" Convert tabs to spaces
|
|
|
|
" Tabs are 4 spaces wide
|
|
|
|
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
|
2019-05-01 17:58:53 +00:00
|
|
|
|
2016-06-14 18:33:44 +00:00
|
|
|
execute pathogen#infect()
|
|
|
|
filetype plugin indent on
|