aboutsummaryrefslogtreecommitdiff
path: root/inc/basics.vim
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-01-05 09:22:20 -0500
committerMitch Riedstra <mitch@riedstra.us>2020-01-05 09:22:20 -0500
commit6283009053bf7e2544427250f34102301024072b (patch)
treef60f179f0caa7e1026a1985b920ecbbd8e85ccf0 /inc/basics.vim
parent3d965bc7aa750af6315f8bd93e1219cced349b6d (diff)
downloadvim-cfg-6283009053bf7e2544427250f34102301024072b.tar.gz
vim-cfg-6283009053bf7e2544427250f34102301024072b.tar.xz
Remove unused 'basics.vim' and add realitive line numbers
Diffstat (limited to 'inc/basics.vim')
-rw-r--r--inc/basics.vim51
1 files changed, 0 insertions, 51 deletions
diff --git a/inc/basics.vim b/inc/basics.vim
deleted file mode 100644
index 6e3d276..0000000
--- a/inc/basics.vim
+++ /dev/null
@@ -1,51 +0,0 @@
-" Basic vimrc for systems you don't want to copy the full one to
-set encoding=utf-8 " The encoding displayed.
-set fileencoding=utf-8 " The encoding written to file.
-set background=dark " Since most terminals I have dark backgrounds
-set nu " Line 'nu'mbers
-set listchars=tab:▸\ ,eol:¬,trail:• " Listchars are used to show normally
- " invisible chars such as tabs, EOL and
- " trailing whitespace
-" set listchars=tab:\|\ " Alternative listchars w/o special chars.
-set colorcolumn=80 " Sets a "coloured" coloumn to tell you where your line
- " breaks should be so you don't piss off people using
- " a terminal.
-set ic " Case insensitive search by default
-set hls " Highlight my searches by default
-set updatecount=0 " Do not write swap files
-set nocompatible " Don't be compatbile with 'vi'
-set tabstop=4 " Tab width
-set shiftwidth=4
-set noexpandtab " Do **NOT** turn tabs into spaces by default
-" Be smart about the mouse
-set mouse+=a
-if &term =~ '^screen'
- " tmux knows the extended mouse mode
- set ttymouse=xterm2
-endif
-syntax on " Syntax highlighting by default
-
-
-set nomodeline " I know how to setup my editor, I don't need your
- " changes to my vim configuration.
-
-" Use \-n in normal mode to toggle line numbers
-nmap <leader>n :set invnu<CR>
-" Use \-l in normal mode to toggle listchars
-nmap <leader>l :set list!<CR>
-
-" Use \-s to pop open a spelling menu. use ]s to search forwards and [s to go
-" backwards.
-" Apparently this also doesn't work if spell checking isn't enabled
-" at the time you enable it.
-set spell
-nnoremap \s ea<C-X><C-S>
-set nospell
-
-" set hidden " This will allow you to change buffers w/o saving
-
-" Omni completion, c-x c-o in insert/append mode
-" filetype plugin on
-" set omnifunc=syntaxcomplete#Complete
-
-set title