aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
AgeCommit message (Collapse)AuthorFilesLines
2018-07-16Don't default <Plug>(InsertCancel)Tom Ryder1-2/+0
This causes problems on vimrc reload.
2018-07-15Add plugin file for setting 'wildignore'Tom Ryder1-0/+1
2018-07-14Revert "Remove :nohlsearch from vimrc"Tom Ryder1-1/+2
This reverts commit 8640888fdfdee047e4f40df4a1a89510330f1fe4. This is still necessary, and I'm not sure why I thought it wasn't...
2018-07-14Adjust syntax settings in .vimrcTom Ryder1-2/+4
If syntax had already been switched on by a system vimrc (boo! hiss!), my colorscheme or 'background' setting doesn't get loaded.
2018-07-14Adjust mapping comment for consistencyTom Ryder1-3/+3
2018-07-14Add and configure digraph_search.vim pluginTom Ryder1-0/+3
2018-07-14Increase Vim mapping 'timeout' to 3 secondsTom Ryder1-0/+3
2018-07-13Remove :nohlsearch from vimrcTom Ryder1-2/+1
This doesn't actually appear to be necessary.
2018-07-13Remove visual mode space/backspace remapTom Ryder1-5/+1
I'm not likely to use these.
2018-07-13Move .vimrc reloading stuff into custom pluginTom Ryder1-12/+0
Not sure whether I'll bother packaging this one.
2018-07-13Remove bell disabling in VimTom Ryder1-7/+0
I just realised that all of my terminals are already configured to handle this in a useful way; in tmux, the window name goes red, and in PuTTY, the Windows taskbar icon flashes.
2018-07-13Simplify 'shortmess' settingsTom Ryder1-5/+2
Just to avoid solving problems I don't actually have.
2018-07-12Update and configure for put_blank_lines.vimTom Ryder1-2/+2
2018-07-12Upgrade and configure for paste_open.vimTom Ryder1-2/+2
2018-07-12Update and configure for strip_trailing_whitespaceTom Ryder1-1/+1
2018-07-12Update and reconfigure for copy_linebreak.vimTom Ryder1-1/+1
2018-07-12Update and reconfigure for insert_cancel.vimTom Ryder1-2/+2
2018-07-12Remove fixed_join.vim pluginTom Ryder1-5/+0
From discussion with nickspoon; let's try out using the jump-to-join default behaviour for a little while, and use gq motions instead for formatting prose.
2018-07-10Add 'sessionoptions' settingsTom Ryder1-0/+6
This disables saving global and local options and mappings in the sessions. This is more trouble than it's worth for me, because sessions don't include buffer-local variables, which means that in addition to restoring the state of options and mappings, plugins and filetype plugins are reloaded in the absence of b:loaded_* guards.
2018-07-10Move angle-bracket matchpairs to Perl filetypeTom Ryder1-3/+0
This is the only type I can think of where they're actually useful; in HTML, it's annoying having to be over the tag text to get the matching.
2018-07-09Use !=# for &filetype matchTom Ryder1-1/+1
2018-07-09Revert :setglobal changesTom Ryder1-19/+23
I thought that global options were the defaults for local options for new buffers, but that does not seem to be the case. Instead, reload the filetype for the active buffer in the reload guard. I wonder what the point of :setglobal even is?
2018-07-09Overhaul ftplugin check, lint, tidyTom Ryder1-0/+7
- Set 'equalprg' for HTML and Perl - Discard filter#Stable() - Set default :compiler for all applicable filetypes - Change local leader mappings for Perl and shell script merely to set :compiler, rather than running it - Bind global leader mapping for running :lmake! - Bind global leader mappings for applying 'equalprg' and 'formatprg' to the whole buffer, using a new autoloaded helper function vimrc#Anchor() to avoid the cursor jumping around
2018-07-08Change local leader back to commaTom Ryder1-1/+1
Double-backslash had a major problem--if there was no local mapping defined, you ended up loading the global one.
2018-07-08Tidy space and backspace mappingsTom Ryder1-7/+3
2018-07-08Correct filetype reset; blank, not NONETom Ryder1-1/+1
2018-07-08Add \T map to clear filetypeTom Ryder1-0/+2
2018-07-08Add .vimrc reload flag and messageTom Ryder1-0/+8
2018-07-08Add \R for filetype reloadingTom Ryder1-0/+2
2018-07-08Separate <Space> and <Backspace> mapsTom Ryder1-3/+6
2018-07-08Use :setglobal and :setlocal in .vimrcTom Ryder1-23/+23
So that if the file gets reloaded, stuff in filetype buffers doesn't get its settings messed with.
2018-07-08Keep more Vim historyTom Ryder1-0/+3
2018-07-08Add \N to toggle Vim 'ruler'Tom Ryder1-0/+2
2018-07-08Arrange for Ctrl-C to remap over EscapeTom Ryder1-2/+2
This way, InsertLeave actually gets fired.
2018-07-08Switch to \\ (double-backslash) for local leaderTom Ryder1-1/+1
I decided I don't like comma as leader. Not sure why; it bugs me a little that it has a real and occasionally useful function that I'm overwriting, but it's just not sticking right either. Let's try \\ instead.
2018-07-08Bind leader maps for delete and insertTom Ryder1-0/+5
2018-07-08Map normal <Backspace> in Vim to Ctrl+BTom Ryder1-1/+4
That is, make it the opposite of Space, which seems eminently sensible.
2018-07-06Correct has() to exists() in .vimrcTom Ryder1-1/+1
2018-07-06Remove .vimrc 'report' settingTom Ryder1-3/+0
The default is fine.
2018-07-06Add \k, \q, and \y .vimrc mappingsTom Ryder1-0/+6
Using all of the lowercase alphabet now.
2018-07-05Disable 'shiftround' in Vim for a whileTom Ryder1-1/+0
After experimenting, I suspect it's actually causing more grief than it saves.
2018-07-05Experiment with comma as Vim <LocalLeader>Tom Ryder1-1/+1
2018-07-04Simplify .vimrc leader map settingsTom Ryder1-7/+6
2018-07-03Handle system-specific undos with system.vim fileTom Ryder1-0/+3
2018-07-02Map \e in Vim to force a buffer to be editableTom Ryder1-0/+2
2018-07-02Correct <C-L> mappingTom Ryder1-1/+2
Exclude operator mode, and restore visual/select selection.
2018-07-02Reimplement fallback for fixed_join.vimTom Ryder1-3/+3
2018-07-02Add insert_cancel.vim plugin and configurationTom Ryder1-1/+3
2018-07-01Correct \V mappingTom Ryder1-1/+1
2018-07-01Break up \o and \O mapping commentTom Ryder1-1/+2