Commit graph

171 commits

Author SHA1 Message Date
Kevin MacMartin
1f10a4bd20 Fix some issues with the statusline and update the colourscheme 2014-12-01 00:31:28 -05:00
Kevin MacMartin
64399b2404 Sync syntastic toggle actions + disable with extradite to avoid conflict 2014-11-18 11:23:34 -05:00
Kevin MacMartin
8f42e27a47 Update submodules 2014-11-14 15:46:07 -05:00
Kevin MacMartin
65a0cbda1c Add add/remove iskeyword abbreviations and mappings 2014-11-06 13:17:57 -05:00
Kevin MacMartin
636849690b add back single character copy in normal mode 2014-11-03 07:21:18 -05:00
Kevin MacMartin
d9b2d6fc98 Improve/fix organization+naming for splits + load help @ 33% width 2014-11-02 18:19:37 -05:00
Kevin MacMartin
9c22929c3a Fix and improve split mappings + add abbrevs: vs25/vs75/sp25/sp75 2014-10-31 01:51:35 -04:00
Kevin MacMartin
fb15796c0b Fix alt+dir for sidebars, add ctrl-w split shortcuts and gitv colorscheme 2014-10-31 01:22:22 -04:00
Kevin MacMartin
56e3729608 clean up documentation + center search vertically on selected term 2014-10-29 07:15:02 -04:00
Kevin MacMartin
f170b77156 Improve organization of colorscheme definitions + add/configure vim-bookmarks 2014-10-28 15:33:37 -04:00
Kevin MacMartin
b4198097b4 Esc+Esc was acting strange, so now <Backspace> or // clears search+refresh 2014-10-27 07:52:44 -04:00
Kevin MacMartin
2bae8bc5bb Fixed small issue with the :git abbreviation 2014-10-26 22:07:18 -04:00
Kevin MacMartin
0637a2bcf5 Improve diff mappings, alias :git <file> == :vs <file> but in vimdiff mode, fix some `/~ mappings that hadn't been changed, add <Leader>c for tcomment (for keyboard without accessible modifiers), and configure tcomment to remove whitespace on uncomment 2014-10-26 21:45:38 -04:00
Kevin MacMartin
a3fd39afe6 Tweak ctrl-c in normal mode so it works with change to y 2014-10-22 04:14:40 -04:00
Kevin MacMartin
7bb3c32e3b Tons of mapping issues fixed, re-add mkd table fmt, tweak keys+settings 2014-10-22 03:41:50 -04:00
Kevin MacMartin
af0be6d906 Greatly improve text width formatting + arrange the section more clearly 2014-10-21 11:04:17 -04:00
Kevin MacMartin
70003e79d4 Add incsearch so all matches highlight together, configure plugin to
default search keys, and remap clear search to // (search key twice)
2014-10-19 13:12:27 -04:00
Kevin MacMartin
22a08f5732 Removed the plugin part of the markdown plugin in polyglot and configs 2014-10-14 16:13:18 -04:00
Kevin MacMartin
ba8ab82b30 Completed disabling syntax checking on :wq 2014-08-25 23:47:40 -04:00
Kevin MacMartin
26608e0eee Display tag information (if available) in the gutter area 2014-08-25 02:38:28 -04:00
Kevin MacMartin
21ee4d0d0c Disable ctrl-z suspend and remove some buggy settings 2014-08-07 23:03:22 -04:00
Kevin MacMartin
5c39279877 Disabled gvim scrollbars by default and readded the toggle (\<f3>) 2014-08-07 03:51:07 -04:00
Kevin MacMartin
98dc5a76e9 ctrl-A aligns comments and ctrl-a aligns end of line comments 2014-08-05 06:01:38 -04:00
Kevin MacMartin
b06a94ef02 added some cut and paste shortcuts during input 2014-07-31 02:09:34 -04:00
Kevin MacMartin
d101b03cbc Used capital C for ctrl for consistency 2014-07-31 01:57:01 -04:00
Kevin MacMartin
539254078b move copy/paste stuff to before neocomplcache remaps it 2014-07-31 01:53:33 -04:00
Kevin MacMartin
5ded6877c5 Added the tabular plugin and mapped the mkd table format it allows 2014-07-29 03:04:37 -04:00
Kevin MacMartin
7620aff01f Fixed some mapping bugs, pulled vimpager settings into its own config
file, and configured vimpager stuff more thoroughly against less.vim
2014-07-28 06:08:10 -04:00
Kevin MacMartin
ceb0874c45 Removed the Spellcheck stuff from the keyboard mappings 2014-07-26 03:14:40 -04:00
Kevin MacMartin
954632c7b7 Added tcommand to provide a searchable list of commands via ` 2014-07-22 22:56:22 -04:00
Kevin MacMartin
73628eb7ea Fixed a few typos, reset the toggle for goyo to <C/A><F12>, set the
default fold level to 5, made \<space> and \\<space> alt ways to
open/close all folds, improved the gutter toggle method and added an
additional way to access help via <Leader>?
all folds
2014-07-20 23:55:42 -04:00
Kevin MacMartin
3b725d9c97 combined <leader>- and _, and <leader>= and + 2014-07-20 21:25:36 -04:00
Kevin MacMartin
aef8c0a12d Swapped ctrl/alt-F# keys with F# keys (toggles are used more) 2014-07-20 21:17:26 -04:00
Kevin MacMartin
eb116fb919 Fixed a typo and resetting scrollwheel stuff at the top of
keyboard.vim to see if that prevents it from randomly reverting to the
old behaviour
2014-07-17 09:59:47 -04:00
Kevin MacMartin
c34ff14e3b T now copies to the end of the line (like D but without deletion) 2014-07-16 07:24:39 -04:00
Kevin MacMartin
1c7b9453de Syntastic doesn't check on :wq when disabled, and toggling
active/passive also toggles check on open/wq. A new variable was added
to prevent autochecking tags, and the README and update script were
updated to reflect this. Disabling the linebreaks is now defaulted to
off (flip it back on if you like it). The update script is a bit more
careful about how it runs when executed from other directories. A bug
preventing the g:disablelinebreaks variable from being possible to
disable has been squashed, and no default is set when it's not enabled.
Added Emmet javascript (rather than just json), and tried to sync up the
webformat list between plugins that enable themselves for those.
2014-07-14 10:30:02 -04:00
Kevin MacMartin
e810a75d10 Removed the breeze plugin while I review 2.0 2014-07-12 17:31:04 -04:00
Kevin MacMartin
e07931125e Selecting autocompletion with the return key won't also linebreak 2014-07-10 00:00:20 -04:00
Kevin MacMartin
56dd4525e4 Changed <F12> and <C-F12> in gvim to <Leader><F1> and <Leader><F2> 2014-07-07 16:07:14 -04:00
Kevin MacMartin
e48ad9529e Fixed whitespace colouring in gvim and a bunch of sidebar-specific mappings. 2014-07-02 03:49:34 -04:00
Kevin MacMartin
b9057fdae4 played with the autocompletion and folds keys to avoid issues in input mode 2014-06-26 13:31:13 -04:00
Kevin MacMartin
f08cb32ce2 Updated the documentation to reflect the change to <Leader>J 2014-06-26 09:16:18 -04:00
Kevin MacMartin
57f3fd3a3b <Leader>J only formats the current line in normal mode (rather than the whole
document)
2014-06-26 09:14:16 -04:00
Kevin MacMartin
9306287af9 swapped ctrl and shift for selection and movement with the arrow keys, and
changed it so ctrl+left/right goes by word instead of a few characters
2014-06-26 07:35:39 -04:00
Kevin MacMartin
ca75532279 Played with keybindings to make them more consistent and logical and making
room to add more complete spellcheck support via the custom bindings (starting
with ?).
2014-06-25 02:47:29 -04:00
Kevin MacMartin
f60e0337cc Fixed an issue with the gutter toggle in an empty document 2014-06-23 05:05:08 -04:00
Kevin MacMartin
f6a20e0219 Submodules have been updated. FKey toggles were tweaked a bit along with general improvements to keyboard mappings. Fixed some issues with the update script, including incorrect log placement as well as allowing it to fail after a timeout when vim hangs (happens when vim displays an error on startup, for example), added better and more consistant error output/logging and fixed some errors along with dozens of tweaks. 2014-06-17 08:19:40 -04:00
Kevin MacMartin
f808cd9759 Added commandline argument support to the update script that includes options
to display help and version information, as well as to disable colour output
(with both English and American spellings of colour). Some minor changes
to wording/style were also made in the title blocks and README.
2014-06-17 01:49:46 -04:00
Kevin MacMartin
7c6ff700aa Removing that left click in visual mode modification as it turned out to
occasionally get in the way
2014-06-16 04:23:09 -04:00
Kevin MacMartin
2d93dab391 Added documentation for the previous commit to keyboard.vim and the README 2014-06-16 01:55:15 -04:00
Kevin MacMartin
55e6c56055 Fixed highligh/select in input mode + now selecting a location in visual mode
with the left mouse button will expand the selection to that point
2014-06-16 01:52:53 -04:00
Kevin MacMartin
64f2b29932 Reorganized and improved and added to the mappings, and updated the README with
a few more.
2014-06-13 00:58:13 -04:00
Kevin MacMartin
081083b767 Improved modifier key + mouse selection logic and changed ctrl+leftclick to
select between cursor and mouse.
2014-06-12 19:18:16 -04:00
Kevin MacMartin
b083ac0e91 <Leader><Ctrl-l> now formats the doc/selection to a width of 79 chars,
autoformat is now <leader><leader><c-f>, > and < are no longer bound to
tab/untab (they were interfering with >> and << for diff), and the mapping to
create a new tab with vim filer is now <A-c> (create) as Alt-f is the default
search results clear command
2014-06-09 17:15:05 -04:00
Kevin MacMartin
716f2259af Disabled linebreaks globally by default and added a variable to
get them back. Added the linebreak variable and another one I'd
missed before to the vimrc.user creation in the update script.
Added a second general settings file called "after.vim" for settings
that need to be loaded after everything else. Updated maintainer
tag to my real name.
2014-06-04 03:18:29 -04:00
Kevin MacMartin
abcdc6e870 Removed adding/changing tabs while not in normal mode, and changed the
unintuitive key combos to Alt-[t,n,p,d,f]
2014-06-03 22:07:16 -04:00
Kevin MacMartin
7f23ace6cd Added the autoformat module, an associated keybinding and an entry
and list of new (optional) requirements it adds in the README, as
well as making some general improvements to the README.
2014-05-29 11:02:23 -04:00
Kevin MacMartin
42ab2b62bd Updated vimfiler so the sidebar can navigate up and use correct colours
again.
2014-05-29 09:12:30 -04:00
Kevin
f6a328c45d Set the instructions in keyboard.vim to the correct mapping for emmet 2014-05-06 02:26:59 -04:00
Kevin
9b3ec982a4 Goyo is configured to toggle with <Leader><Space>, and to set its width
using either the filetype's textwidth value, or if none is set either 78
columns or the widest line if any are longer than that.
2014-05-05 04:26:11 -04:00
Kevin
6e7861dc87 Updated submodules and fixed the instructions for keyboard.vim 2014-05-04 19:44:49 -04:00
Kevin
9be21a8fef I realized the backspace in normal mode's behaviour wasn't consistant,
so I've removed it until I get a chance to figure out how to do it
properly
2014-04-30 16:57:18 -04:00
Kevin
bf251c81a2 Ctrl-F7 no longer tries to restore the visual selection as it doesn't
make sense to try when the focus is stolen like it is with this toggle
2014-04-30 10:21:57 -04:00
Kevin
a60fc3fe85 Tweaked ctrl-v to use P so it pastes back the same as it copied 2014-04-30 10:19:33 -04:00
Kevin
7999fec61d Added ctrl-x ctrl-c and ctrl-v shortcuts for cut, copy and paste.
Cleaned up the mappings readme section at the top. Toggles no longer
undo selection in visual mode unless they steal focus (which some of the
sidebars do)
2014-04-30 10:15:07 -04:00
Kevin
1c21ca23c9 Updated info in the README as well as adding the mappings for mouse
buttons and the list of plugins. Two extensions that never really got
integrated into the config have been removed, so you should readd them
to bundle.user if you use them. A lot of the keyboard config has
changed, but most of that is just formatting; the additions are the new
mouse button mappings, and the return of shift+middleclick to paste from
X, which was accidentally removed at some point before. I also switched
the default state of the syntax checker to off to avoid having people
run into issues and not already know how to enable/disable it.
2014-04-18 05:12:35 -04:00
Kevin
ec0032348d Closing help with q or the same keys that opened it are disabled in
vimdiff since they'd kill the whole shebang, and the tagbar won't auto
open in vimdiff either
2014-04-17 12:35:49 -04:00
Kevin
93622b42f9 Don't enable syntax highlighting in vimdiff, and since so few terminals
support right clicking, the middle click now selects text between the
cursor and mouse, and to enter input mode at the cursor, hold alt while
middle clicking.
2014-04-17 12:18:26 -04:00
Kevin
dc5b1547bf Middle-click now enters input mode, and ctrl+middle-click now pastes where
the cursor is. Some redundant definitions were removed, and submodules
were updated.
2014-04-14 08:08:26 -04:00
Kevin
aae6cac6cd Grouped all the mouse stuff together in keyboard.vim and labelled the
mouse settings that hadn't already been labelled.
2014-04-11 11:45:29 -04:00
Kevin
5c71fa3587 clicking while holding the alt key will now select the current paragraph 2014-04-11 11:29:26 -04:00
Kevin
e79a054f7d Removed Shift-Left and Shift-Right because they were moving an arbitrary
amount of spaces when the default is to move forward/backwards by one
word
2014-04-09 18:12:41 -04:00
Kevin
bc43e715a7 holding ctrl in normal or input modes and clicking will now put you in
visual mode with the clicked line selected
2014-04-09 17:02:49 -04:00
Kevin
b32bb4504c Tweaked the tagbar and added a screenshot to the README 2014-04-09 15:39:22 -04:00
Kevin
8269a52961 extradite now toggles correctly, and a number of the bars that had
previously not displayed a name in lightline now do.
2014-04-09 14:58:38 -04:00
Kevin
2e78bb34b5 added the ability to toggle the table of contents off back 2014-04-09 14:14:19 -04:00
Kevin
825cc37eaa Added better syntax highlighting, aliased launchers and a ctrl-f7 toggle
for extradite, improved some of the custom filetype key handling, including
extradite, and added line numbering to extradite.
2014-04-09 13:04:34 -04:00
Kevin
7a519e601f Added more complete and descriptive headers to the config files,
including the URL the config can be downloaded. Added a new variable
that determines whether the filer will autostart on empty buffers or
not. Set powerline fonts not to load by default. Changed the order to
load the config files so the user config settings are applied to
plugins.
2014-04-09 08:07:12 -04:00
Kevin
a7e95b25ac Tweaked the update script to drop the user variables from vimrc into
vimrc.user when it's created. a new user-based config file can be used
to specify the location of the project folder without altering vimrc, if
it's a symlink and bound to bump into conflicts as changes are made. The
README was updated to reflect a few of the recent changes. The tagbar
now outputs to the lightline statusline if there's anything to report.
A new variable was added to choose whether to always start with the
tagbar enabled if the format is compatible, or use the older behaviour,
where it would only appear when triggered. The default is to enable it 24/7.
2014-04-08 03:39:10 -04:00
Kevin
1d19dacfa9 when editing markdown, the ctags button now pops up a heading browser
instead
2014-04-08 00:13:03 -04:00
Kevin
69e43649ce Added a versions control line highlight toggle keymapping to <ctrl><f7>
+ associated line highlight colours in the theme, and an extra key mapping
for diffu was adding "<leader>><" in addition to "<leader><>" since
they're both so similar.
2014-04-07 20:59:33 -04:00
Kevin
4c5dd3f4a7 removed gitgutter and changed its settings and theme to handle signify
instead
2014-04-07 12:05:52 -04:00
Kevin
a591d48a5b uploading gitmodules for gitgutter. tweaked the keybindings and
settings for diff so its settings will be enabled by default when it's
being used regardless of where it gets initiated, and won't be used at
all when it's not initiated. Improved vimdiff settings in general.
Improved the help popup tab (it's now sized exactly to the width of the
help page). The theme now takes colour hex codes with or without #s at
the start so they can be used with the coloresque plugin to show the
colours while editing. The theme now considers gitgutter. vimdiff now
uses <leader>> and <leader>< to make a change because I realized the
current way was leading to changes being made when you reversed
direction.
2014-04-07 10:04:48 -04:00
Kevin
772db85ccc adding breeze configuration and key mappings, as well as the gitmodules
file
2014-04-07 02:40:35 -04:00
Kevin
9c2064f726 added instructions for using ctrl-c/ctrl-enter to keyboard.vim 2014-04-07 01:46:24 -04:00
Kevin
eb6cfb028c added key mappings to up/down to do the same as j/k do with the move
plugin, and added mappings for left/right/h/l to move a half page at
a time
2014-04-07 00:41:03 -04:00
Kevin
eef89eb52d removed the keyboard override for tmux as it's now handled in the fixkey
module, and updating gitmodules
2014-04-07 00:08:26 -04:00
Kevin
e9481f6bc8 Fixed some keybindings, added help dialog sidebar toggles (help dialogs
now always pop up veritcally, which made sense to me considering their
column width and the average size of screens these day), touched up
the readme and some missing keyboard toggles, added a few more formats
relevant to emmet, and gave variables default values in the configs so they
don't need to be declared (default values are stated in the README)
2014-04-05 03:20:53 -04:00
Kevin
85c17a68d7 Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
Kevin
716dc8693c Added a toggle for the spellcheck list to F8 2014-04-03 23:00:34 -04:00
Kevin
bc68913e83 Fixed the paste buffer when backspacing in visual mode, and added
a bunch more definitions to the theme.
2014-04-03 13:16:12 -04:00
Kevin
6afa665edc Tweaked the theme and syntax definitions a bit more. Configured the
file manager's theme, settings and keyboard mappings. Played around with
the keyboard mappings in general quite a bit more. All the toggles
output what they're doing now, though not their actual status in most
cases at this point, and only in normal mode. The bottom scrollbar is
now part of the gui scrollbar toggle as it turned out it can be
auto-disabled when the content isn't wide enough anyway. I realized
a bad hack to get visual paste ontop to work without replacing the paste
buffer with whatever it was pasting over meant that pasting at the start
and end of the line would leave issues with spacing, so I found a plugin
that fixed the problem the right way and hooked things up through that..
Whether syntax checking is enabled by default or needs to be toggled on
can now be set in the vimrc. Some small bugfixes and improvements were
also made.
2014-04-03 06:17:16 -04:00
Kevin
5cc350bd73 The F5 and F6 mappings were both set to F5, and this is now fixed 2014-04-02 19:51:33 -04:00
Kevin
94b65ec376 Syntax can now be toggled on/off, and the filetype association was
commented out to use as an example.
2014-04-02 18:12:48 -04:00
Kevin
feec545d14 Tweaked toggled filemanager width and disabled the bottom scrollbar when
starting with it
2014-04-02 12:36:04 -04:00
Kevin
d5d4189e78 Undo history and syntax errors can now be toggled with F9 and ctrl-F9.
Nerdtree was dropped in favour of the much better vimfiler. The status
bar was reconfigured to display more information including the current
number of errors. A script was added that can generate a tags file from
/usr/include for more robust syntax checking in C. The update script was
updated to hopefully handle the removal of nerdtree when it updates the
submodules... Syntax highlighting has been improved in numerous
directions including more definitions as well as tweaked colours.
Keybindings were tweaked again and new ones added for the new features.
The paste function was incorrectly using buffer 0 instead of the current
buffer when in visual mode, but this is no longer the case.
Autocompletion has been improved quite a bit and the keybindings
tweaked. A bunch of general fixes and tidying up was done.
2014-04-02 11:17:12 -04:00
Kevin
f67a01fca4 Added a new plugin that provides toggles (see keyboard.vim) for the
quickfix list and location list
2014-04-02 02:09:20 -04:00
Kevin
9854140e10 the emmet plugin now uses '<Tab><Tab>,' which I find infinitely easier to
remember than ctrl-z (which I realized I hadn't been using at all)
2014-04-01 02:00:35 -04:00
Kevin
46be09900c Added a new script that can be used to update the repo if bash is
available. Updated the README. Improved the theme by adding a bunch
of syntax highlighting definitions (mostly rooted in html, though
a bunch of other languages base their colours on it), as well as
tweaking visual selection to longer invert on the block with the cursor,
and parenthesis matching to look the same at both ends. Added a plugin
that improves the theme and adds some keyboard shortcuts to markdown,
which is what the README.md files in Github are written in. I realized
that the h,j,k,l shortcuts equivalent to the ones with arrow keys I'd
added were overwriting other shortcuts with the shift combinations, so
I removed those and the ctrl-ones for consistency. The diff shortcuts
weren't intuitive or easy on the hands, so I tried something else and
I think it works much better now (check vim/keyboard.vim). An update
script has also been added to simplify updating submodules; I'm not
completely clear as to whether following this method will properly
update the submodules in certain conditions like when one is removed,
but this should add new ones and update the existing ones after pulling
from the repo.
2014-04-01 00:03:52 -04:00
Kevin
76369ab429 Scrolling horizontally with the mousewheel while holding ctrl now works
in input mode, and you can now copy a character with y in normal mode
2014-03-31 05:47:32 -04:00