Commit graph

67 commits

Author SHA1 Message Date
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
e2c5e21d9e Wrapped lines now display. 2014-04-01 23:21:03 -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
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
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
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
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
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
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
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
818c414103 Added an entry to load the system's extended matchit system 2014-02-21 02:34:23 -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