Commit graph

132 commits

Author SHA1 Message Date
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
b48c619ad1 committing the git plugin, vim-fugitive 2014-04-05 03:20:28 -04:00
Kevin
72f5924639 On second thought, both c syntax files together make for much better
highlighting, so I've added it back in along with some changes to the
C syntax.
2014-04-05 00:55:40 -04:00
Kevin
cfc5b07d9d committing a new package that handles up to date syntax and indentation
for 48 languages (why the last two commits were removing two plugins
that provided one language each)
2014-04-05 00:36:26 -04:00
Kevin
6c804e3565 removed the c syntax plugin 2014-04-05 00:35:07 -04:00
Kevin
7059136b7f deleted the html5 submodule as far as I can tell 2014-04-05 00:26:47 -04:00
Kevin
21a6dacbe9 Adding the webapi plugin to support loading external emmet snippets
using the built in json funcionality.
2014-04-04 23:54:36 -04:00
Kevin
9ef75137d0 Adding the tcomment plugin, which is similar to the surround plugin,
except this allows you to add and remove the comment style for the given
file format you're editing.
2014-04-04 23:46:12 -04:00
Kevin
2c4a506085 switched to a new source for vim-coloresque, possibly not the best way
it could have been done :)
2014-04-04 21:06:56 -04:00
Kevin
e3583c1404 removing vim-coloresque to replace with a more updated fork 2014-04-04 20:57:09 -04:00
Kevin
e895cf5639 Added a readme to show the folder custom plugins can be added to 2014-04-04 20:17:10 -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
eae637b8c2 Committing upstream changes to the tagbar 2014-04-04 04:04:03 -04:00
Kevin
bf06e82ee5 One more small tweak to html :) 2014-04-04 03:50:16 -04:00
Kevin
acc16fcf3d Another small tweak to html syntax colours 2014-04-04 03:46:17 -04:00
Kevin
787b737310 Did an overhault on the HTML syntax highlighting because I wasn't
satisfied with it-- I think it looks much better now
2014-04-04 03:15:02 -04:00
Kevin
5cc2ff28a6 Tweaked the cursor a bit more, and the matching parenthesis now links
its style to the cursor's style to make it more clear what's being
matched
2014-04-04 02:08:34 -04:00
Kevin
5bf8433e58 Lightened up the default font just a touch 2014-04-04 01:59:11 -04:00
Kevin
6c6ed3acc0 Added syntax configuration for quicktask 2014-04-04 01:51:14 -04:00
Kevin
68e3699715 Tweaked visual selection to behave the same across all terminals and
gvim (regardless of the terminal's policy or settings for the cursor)
2014-04-04 01:10:01 -04:00
Kevin
62847db7a5 updates for the tagbar plugin 2014-04-03 23:17:40 -04:00
Kevin
716dc8693c Added a toggle for the spellcheck list to F8 2014-04-03 23:00:34 -04:00
Kevin
25667a2b05 Adding a new spellcheck plugin that collects all the spelling mistakes
in the document into the quickfix list when run.
2014-04-03 22:57:24 -04:00
Kevin
ee1d397c68 Improved the spread of colours displayed in HTML syntax 2014-04-03 14:05:37 -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
c0be78890c Made a few more tweaks to the colourscheme 2014-04-03 10:43:00 -04:00
Kevin
0cc369513a Added notmuch email for vim to the list of non-code formats with similar preets 2014-04-03 09:08:44 -04:00
Kevin
a2e15f719b Tweaked some settings for specific filetypes and made a few more
improvements to the syntax highlighting and overall theme. the undo
sidebar should now fit better on smaller screens too (you can resize it
with the mouse if it's too small)
2014-04-03 07:48:52 -04:00
Kevin
b38c7270db Tweaked syntax colours for email 2014-04-03 07:00:53 -04:00
Kevin
317f6ec5fb Updating the markdown plugin 2014-04-03 06:29:37 -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
91a798c190 Pulled the latest changes to the pathogen plugin 2014-04-02 18:39:50 -04:00
Kevin
74f629ff8d Pulled the latest changes to the tagbar plugin 2014-04-02 18:39:32 -04:00
Kevin
810b94250d pulled the latest changes to the syntastic plugin 2014-04-02 18:39:19 -04:00
Kevin
d54458ae5d Pulled the latest updates to the markdown plugin 2014-04-02 18:39:02 -04:00
Kevin
03bb2ba4b8 Pulled the latest updates for the html5 plugin 2014-04-02 18:38:39 -04:00
Kevin
8a43f80747 Pulled the latest changes for the emmet plugin 2014-04-02 18:36:37 -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
0f006d69dd Disable bottom scrollbar if vim is starting as the filer 2014-04-02 11:51:01 -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
eca11b027d A bunch of improvements were made to the syntax highlighting, including
the addition of missing definitions, and better overall balance
2014-04-02 01:33:03 -04:00
Kevin
a4a3940ef4 Added a new submodule that colours hexcode backgrounds the same as the
colours they represent for css-related formats
2014-04-01 23:32:21 -04:00
Kevin
e2c5e21d9e Wrapped lines now display. 2014-04-01 23:21:03 -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
Kevin
7c2f0d925d Shortened the escape sequence timeout so returning to normal mode from
insert mode occurs more instantaneously
2014-03-29 19:52:05 -04:00
Kevin
508f56d0e5 Replaced duplicate keybinding in vimdiff with a new one that hopefully
makes as much sense
2014-03-29 04:25:26 -04:00
Kevin
ee2aa3d686 Added some vimdiff bindings and disabled folding by default when
launching vimdiff. Reorganized the keyboard bindings to make htem easier
to find and read. You can now trigger most of the cut commands by
hitting the <Leader> key (backslash) first to avoid replacing the
paste-buffer. A bunch of commands and toggles that made sense to do so
now work in all three modes. All folds can be toggled with <shift-F12>.
The command to turn tabs into spaces has been added. A few settings
added earlier today were tweaked or removed.
2014-03-28 22:12:13 -04:00
Kevin
8821f922de Added a key binding to convert tabs to spaces, and one to remove search
highlighting
2014-03-28 16:30:38 -04:00
Kevin
a2be154e41 Added shift-direction to select large spans of text to visual mode 2014-03-28 11:52:42 -04:00
Kevin
d1a1622889 Removed shift-a because that's the key combo for 'A' (insert at end of
line)- whoops! Instead \a has been added, and select all has been added
to visual mode in both forms.
2014-03-28 11:44:12 -04:00
Kevin
ea3a7aef1b Added a binding for shift-a that selects everything like ctrl-a does for
people using terminal muxers that steal ctrl-a
2014-03-28 11:26:54 -04:00
Kevin
426acb2b14 Added a writeup of features and some information about accessing them to
the README, made <backspace> delete the selection and cursor character
in visual and normal modes respectively, and set \| to add the currently
selected word to the local dictionary for spellcheck (remembering that
\\ displays a list of correct spellings)
2014-03-28 11:13:10 -04:00
Kevin
2ee0a576e3 Added <Tab> and <Shift><Tab> to normal mode, doing the same thing as in
visual, :wsudo and :esudo can now be run with :sudow and :sudoe, fixed
a few issues where gvim settings wouldn't be enabled if gvim was started
using :gui in command mode, = now does what + does so you can use - and
+ without holding shift for the + part, the ctrl/shift
up/down/left/right + h/j/k/l stuff now works the same for both using the
behaviour I suspect most people will expect from them, a 'lot' of
behaviour that didn't work in tmux should now work provided tmux is
using xterm-keys and has its $TERM set to screen*, a bunch of new
default settings have been added to settings.vim (though they're mostly
subtle or behind the scenes tweaks) and it's commented and organized
better now too, and the gvim menubar no longer appears by default (but
you can toggle it with <Ctrl><F1>)
2014-03-28 07:36:19 -04:00
Kevin
62596daf72 Fixed the logic for select all with ctrl-a 2014-03-28 02:08:36 -04:00
Kevin
a80b043da6 Spelling mistakes, mistakes that exist in another locale and incorrect
case are now all different colors, and those along with a few other
colours have been tweaked to better matches the theme, and the non-colour
term theme should more closely match too. The F1-F3+F12 toggles
now work in all three editor modes, and F4 has been added to toggle
spellcheck, which also works in all three modes (depending on the
filetype, sometimes it will start on and others off). You can now place
your cursor on an misspelled word in normal mode and hit \\ (backslash
twice) to create a drop down menu with suggestions.
2014-03-27 00:56:54 -04:00
Kevin
89a19086c7 Updated bundle versions 2014-03-26 01:04:01 -04:00
Kevin
1db0dc9299 updated documentation to reflect correct gvim mappings 2014-03-26 00:45:47 -04:00
Kevin
6929debb89 unmapped <f1> from help and set the three toggles to f1-f3 2014-03-26 00:44:02 -04:00
Kevin
72dfdfd7db changed the clipboard to 'unnamedplus' which cuts/copies to the xorg clipboard and the desktop one, and pastes from the desktop. I also tweaked the theme to include more variety, make things more readable and apply more logic as to what has what colour/style. F2-F4 are now the line number and highlight toggles, ` and ~ are now toggles for nerdtree/ctags, visual highlighted text is now replaced with p rather than needing to use P, ctrl-t,n,p open new tabs and cycle to the next and previous one respectively, and each ctrl/shift-up/down/left/right combo now has a h,j,k,l equivalent with more complete movement. The autocomplete list no longer has a limit, and folded code is now collapsed at a lower depth. 2014-03-24 20:36:36 -04:00
Kevin
f2de4c3a33 Reduced the scrolloff rows/cols from 3 to 1, and added a setting to
make holding <ctrl> while using the scrollwheel on a mouse change from
scrolling up/down to scrolling left/right
2014-03-24 17:58:31 -04:00
Kevin
17111bdbf8 Enabled spellcheck when editing email and git commit messages, configured some formatting options, and added some key combinations to navigate with <ctrl> and select with <shift> 2014-03-24 17:20:35 -04:00
Kevin
9f5905f38f Mapped shift left/right to movement to the start and end of the text on
the line
2014-03-21 16:17:15 -04:00
Kevin
a323216a19 Adding mappings for <ctrl>up and <ctrl>down to move by a chunk of text
in either direction instead of mirroring up/down without <ctrl>
2014-03-21 15:46:33 -04:00
Kevin
cb0122bff1 Added mappings for <Shift-p> to make it replace the current word with
the paste buffer in normal mode, and the selection in visual mode
2014-03-21 10:06:06 -04:00
Kevin
36505ed9b5 Disabled the blinking cursor in the GUI, made the cursor color more
visible on inverted colours, and configured the match parenthesis
colours to resemble the currently selected cursor.
2014-03-13 04:47:37 -04:00
Kevin
f2069f939b Highlighting in visual mode now uses standout and black text to have the
background become the syntax color for much more pronounced selection.
2014-03-12 01:49:57 -04:00
Kevin
47f3047a8a Tweaked the colors and styling of the cursor line/col and visual selection to better differentiate between the two. Changed the match parenthesis to standout with black text so the colour is based on the syntax instead of sometimes becoming invisble when the colours match. Changed the emmit shortcut from <Ctrl-Y> to <Ctrl-Z> for reach, and because it's easier to remember (zencoding). Tweaked some of the keyboard references so their explanation makes it easier to remember the keys. Removed the multiple cursors plugin as it rarely worked, was buggy when it did and would slow things down when accidentally triggered. Chanced read sudo from :rsudo to :esudo to match the usual load command in vim, :e. Emmit is now only initialized in css, html, php and aspx files (feel free to push additional webdev files that would be likely to have css or html). Tried to apply a more consistant style and better organization across the configs. Lowered the distance from the edge of the screen before scrolling and increased the undo history size. Removed the perl omnicompletion script because I was looking to trim things down and don't really use perl myself; my apologies if anyone does though, and you can easily get it back by cloning https://github.com/c9s/perlomni.vim.git into the bundle directory. I also remove the fugitive git plugin because while I do use git, I've just found it to be easier and more natural to run it from outside vim; fans of that one can get it back by cloning https://github.com/tpope/vim-fugitive.git into the bundle directory 2014-03-11 03:05:09 -04:00
Kevin
ad161ecf5d Updated plugins versions 2014-03-07 20:20:32 -05:00
Kevin
034a55c6cd Added a line to have the yaourt config file: yaourtrc use sh syntax highlighting 2014-03-06 09:17:30 -05:00
Kevin
68690a3ad1 Added syntax settings for some popular configuration files 2014-02-24 16:40:41 -05:00
Kevin
2ea231ecaa Made the autocompletion menu colours a bit more cohesive with the theme 2014-02-23 21:50:32 -05:00
Kevin
2178d44800 Fixed one of the explanations in keyboard.vim so it describes the
correct thing.
2014-02-22 15:58:10 -05:00
Kevin
cd75059249 Fixed some wording in the theme template 2014-02-22 03:34:59 -05:00
Kevin
818c414103 Added an entry to load the system's extended matchit system 2014-02-21 02:34:23 -05:00
Kevin
acf3c9999b Added instructions for cloning the repo to the README since the whole submodule budiness is a bit less typical, and updated the pathogen_update_plugins script to behave accordingly when updating submodules 2014-02-21 00:50:25 -05:00
Kevin
188e1f62a4 Made a few tweaks to the colours, commented out lines that haven't had values set for them yet (mostly language-specific syntax) and added another couple of entries for the 8 colour fallback 2014-02-20 23:45:15 -05:00
Kevin
039b925e15 Initial commit with a relatively well configured package (config, theme and plugins), and a README to explain the details 2014-02-20 23:24:20 -05:00