aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-07-12Install pick.vimTeddy Wing
Trying out the pick(1) fuzzy finder from Thoughtbot. Seeing how fast it is out of the gate.
2015-07-12Install CtrlPTeddy Wing
Testing out CtrlP as a Command-T alternative at the same time as Unite.vim. Figure I might as well try all of these to see which one I end up liking most.
2015-07-12Install Unite.vimTeddy Wing
Curious about other Command-T options because it's been feeling a bit slow lately. Testing out Unite.vim to see if it might work for me.
2015-07-11vimrc: Disable auditory.vimTeddy Wing
Wish there was an easy way to toggle the plugin on and off with a command in the plugin (e.g. `:AuditoryToggle`). Would be nice to enable it when I wanted to and have it disabled at other times. I like it but there are times when I don't want my computer to be playing music when I'm typing or editing text. Disable it by default.
2015-07-11.gitmodules: Change location of auditory.vimTeddy Wing
Use the remote URL instead of a local path.
2015-07-11vimrc: Remove Autocommands sectionTeddy Wing
This was commented out anyway and I don't plan on using the vimrc sourcing command. This section can be safely removed.
2015-07-11vimrc: Remove CopyModeToggle commandTeddy Wing
Haven't used this command in ages because it doesn't really work well. These days I use my <leader>c visual mapping for copying text instead of copying it directly from the window. This command also doesn't handle copying from split windows. Pretty soon I should install Chris Toomey's text object copy plugin as that will be quite a bit nicer than my current system.
2015-07-10vimrc: Remove <leader>bl mappingTeddy Wing
I wasn't using it, instead favouring `:ls`, so we don't need it any more.
2015-07-09vimrc: Add Netrw window size & sort optionsTeddy Wing
* Move Netrw settings down to the Plugins section * Set an empty window size to make new :Vexplore windows open at half-width instead of being fixed at 25-ish columns (or whatever I had set for NERD Tree). Even after removing NERD Tree, for some reason :Vexplore refuses to open windows at the default unset window size, always using 25-ish. * Set case-insensitive sort so that uppercase file names don't appear above lowercase file names because it's confusing for the list to not be fully alphabetical from top to bottom.
2015-07-06README: Remove NERDTree from plugin listTeddy Wing
Now that I've removed the plugin (6d7ea2be365959b8aa348d5942846111a85480f6), it can be removed from the list.
2015-07-06vimrc: Remove NERD Tree configurationTeddy Wing
Now that I removed NERD Tree (6d7ea2be365959b8aa348d5942846111a85480f6), this configuration is no longer needed.
2015-07-06Remove 'NERD Tree' pluginTeddy Wing
I've been using Netrw more and more after 9ec85f7fa5e118c0630e6b6457b71e80e57fa5dd. I think I'm going to switch over and leave NERD Tree now. Haven't really been using it for anything other than showing multiple directory levels of a project in a single view, which I now know is something Netrw can do. Also I mostly use Command-T opening files so haven't been using the plugin much lately.
2015-07-06vimrc: Remove EasyGrep configurationTeddy Wing
Now that I removed the EasyGrep plugin (52927a37be4b978417c7835cebeed975ef90e0ca), we no longer need to set its configuration options.
2015-07-06README: Remove EasyGrep from plugin listTeddy Wing
Now that I've removed EasyGrep in 52927a37be4b978417c7835cebeed975ef90e0ca, remove it from the README's plugin list.
2015-07-06Remove 'EasyGrep' pluginTeddy Wing
No longer using this one. I've been using ag exclusively, mostly directly from the console but sometimes using the plugin. For find and replace I've gotten more adept at using the arglist, so I haven't used EasyGrep in a long time. It can also be kind of slow, mostly because it doesn't use ag. Not sure if there's a way to integrate the two.
2015-06-04vimrc: Fix CHANGELOG dateTeddy Wing
Wanted to capture the fact that the `g:netrw_liststyle` change was made on 2015.06.02 but forgot to change to today's date when adding the CHANGELOG entry for the `<leader>or` change.
2015-06-04vimrc: Add <leader>or mappingTeddy Wing
Add a mapping to open the current file in `ranger`, the console file explorer. I already have a similar command to open the current file in Finder, but these days I find ranger a bit more pleasant to use, particularly if I'm already in the console. It's definitely more keyboard-friendly. This came about because I was trying to copy a file and the built-in Vim methods for doing so that I know of were more complicated than I wanted. 1. Use :saveas [filename] This method does the right thing in copying but the copy goes to Vim's :pwd. I wanted it to go to the same directory the file was in. 2. Use Netrw The mf mt mc commands were a little confuddling to me. It makes sense when copying a file to a directory, but how do I duplicate a file in the same directory? 3. Use :shell Opens a shell, but in Vim's :pwd, not in the current file's directory. Maybe I should make a mapping for this.
2015-06-04vimrc: set g:netrw_liststyle=3Teddy Wing
Use Netrw's tree view. This makes Netrw function a lot more like NERDTree. In fact, that's the primary reason why I use NERDTree in the rare cases that I need it these days. We can probably remove NERDTree from the plugin list after this. Thanks very much to Mo Zhu for introducing me to this setting at BostonRB project night last Tuesday. Would have committed it then but I was thinking I'd do some plugin changes and uninstall NERDTree before doing so. I haven't and now I want to make another change to my vimrc so let's just commit this now.
2015-04-24Add ftdetect/gemfile.vimTeddy Wing
Set Gemfiles to use the `ruby` filetype so that they open with Ruby syntax highlighting automatically. Too much of a pain to `:set ft=ruby` every time.
2015-04-02write-with-spaces: Enable tab completionTeddy Wing
Turn on tab completion to make it easier to navigate to a directory to save the file in.
2015-03-26Add write-with-spaces pluginTeddy Wing
Add a plugin to provide a way to write file names with spaces. Came from a Vim forum post. Handy to not have to always type backslashes if I want to save a file with spaces in it.
2015-03-17ftplugin/mail.vim: Set nojoinspacesTeddy Wing
Noticed when writing emails that when a line ends with a period, two spaces are added after it, meaning there are now two spaces between my sentences. Personally I hate this practise even though I understand why it makes sense when using fixed-width typefaces. Set nojoinspaces to make it stop happening.
2015-02-09Add vim-unimpaired merge conflict movementsTeddy Wing
Grab the movement commands `[n` and `]n` to move between merge conflict markers. Makes it easier to get around when fixing conflicts in vimdiff. Copied from Tim Pope's vim-unimpaired plugin.
2015-01-28ftplugin/mail.vim: Turn on spell checkingTeddy Wing
It's useful to have spell checking on when writing emails.
2015-01-27Add ftplugin/mail.vimTeddy Wing
Add formatoptions for composing email messages. Using a recommendation from here: http://wcm1.web.rice.edu/mutt-tips.html regarding format=flowed emails.
2015-01-24Create ftplugin/eruby.vim with indentation settingsTeddy Wing
Looks like ERB files would take their indentation settings from the ruby setting (2 spaces). I want 4-space indentation in my ERB, at least typically that's what I want when I'm writing HTML with embedded ruby. Apply that accordingly.
2015-01-15ftplugin/python.vim: Add map to quickly insert debug statementTeddy Wing
Create a python-specific map (<leader>gdo and <leader>gdO) that inserts import ipdb; ipdb.set_trace() either above or below the current line. I got tired of having to type it all the time.
2015-01-06virmc: Set backupcopy=yesTeddy Wing
Add setting to preserve file attributes, such as creation date. I went to check the creation date of a file I know was created at least a year ago, but its creation date was today and the same as its modified date. I had recently edited the file in Vim, and that ended up being the problem. This setting ensures that files are reused so their attributes are preserved. What an unfortunate loss of history since last April.
2014-12-13Update `auditory.vim` plugin to the latestTeddy Wing
2014-12-13Update `vim-ls-grep` plugin to the latestTeddy Wing
2014-11-24Add ls-grep pluginTeddy Wing
So I can grep my open buffers.
2014-11-18ftplugin/python.vim: Set textwidth to 79 columnsTeddy Wing
Comply with PEP8 style guidelines by setting a max line width of 79 columns). Should make it easier to write Python code without having to watch the column count myself.
2014-11-15vimrc: Add <leader>p mappingTeddy Wing
Add a mapping to read from the OS X pasteboard. Pasting directly in insert mode is excessively slow when dealing with a lot of text. Likely caused by too much redrawing. Reading directly from the OS X pasteboard is much faster, so add a mapping for that.
2014-11-12vimrc: set sessionoptions-=optionsTeddy Wing
This setting tells vim not to save options & mappings in persisted sessions. This allows open buffers, windows, and tabs to be saved but configuration options and plugins to be different when reopening a session. Useful if I've made modifications to my vimrc after creating a session. Found out about this from https://github.com/xolox/vim-session. Really cool that this exists. It's been something that annoyed me for a while but I never bothered to find a solution.
2014-11-12Add auditory.vim pluginTeddy Wing
2014-11-06ftplugin/gitcommit.vim: Don't start wrapped lines with '*'Teddy Wing
When making bulleted lists in git commits, I normally use '*' as the bullet character. When my text wrapped from the textwidth=72 setting for gitcommit-type files, the line following the start of a bullet would begin with a bullet. Obviously this is the wrong behaviour since I'm continuing a list item, not of starting a new one. This frustrated me to no end whenever I wrote a list in a git commit, constantly having to `0r<space>` to fix the extra asterisks. I finally decided to solve this problem once and for all. Read up a little on: * :h formatoptions * :h fo-table * :h format-comments The last of which gave me what I needed to fix the problem. Now asterisks in git commits behave as list bullets.
2014-11-05vimrc: Add command mode mappings for word movementTeddy Wing
Never being able to move by word in command mode would always get on my nerves. In particular if I was trying compose a long command. Sure you can bring up a command window but that's not what I think of first when starting to writing a command. Luckily `cmdline.txt` in vim help has the answer! Since Shift-Left/Right doesn't work for me and I'm using Control-Left/Right to move between OS X spaces (not even sure if the Control modifier version works for this either), create bash/emacs-style mappings to move between words in command mode. I'm sorry I didn't find this earlier but it does feel good to have a big annoyance solved.
2014-11-05README: Add ag.vim pluginTeddy Wing
2014-11-05Add ag.vim pluginTeddy Wing
Was doing a search for a class in HTML files and realised that I want the files open in vim and in order to do so I would either have to monkey with some shell piping or Control-Z/fg back and forth from ag output to vim whilst remembering which filenames I wanted to open and open them manually. Craziness. Finally installing Ag.vim for these instances when I want to instantly open vim buffers for the files in my search results.
2014-10-30vimrc: Add <leader>tq mappingTeddy Wing
<leader>tq quits a window and goes to the previous tab. I was getting tired of doing `:q` -> `gT`. I know I have <leader>td but I've been working on some projects lately where I don't want to delete the buffers from my session.
2014-10-25Add ftdetect/md.vimTeddy Wing
Add an ftdetect file to automatically set Markdown syntax highlighting for files with a .md extension.
2014-09-10README: Update plugin listTeddy Wing
* Delete mentions of removed plugins (commentary.vim and TabBar) * Add an entry for tcomment
2014-09-10vimrc: Add <leader>r mapping to reload current fileTeddy Wing
Typing `:e!` is fine and all but I want a quicker way to do it.
2014-07-06vimrc: ignore node_modules/ from Command-TTeddy Wing
2014-07-02Add ftplugin/{html.vim,htmldjango.vim}Teddy Wing
Gives me matchit plugin settings for HTML and Django templates without including the entire ftplugin for either. Copied the settings from vim's default ftplugins. Allows me to use matchit to jump between HTML tags and <:>.
2014-07-02vimrc: source the built-in matchit pluginTeddy Wing
Allows for extended % matching, between things like < & >, HTML opening and closing tags, and general regex for various languages.
2014-06-30Create custom tabline.vim pluginTeddy Wing
Add a plugin for a custom tabline. Still a lot of room for improvement here, but I really wanted something that would tell me the tab numbers to make it easier for me to switch between tabs using #gt.
2014-06-29vimrc: remove commentary.vim autocmdsTeddy Wing
These are no longer required now that I've switched to tcomment.
2014-06-29Remove commentary.vim pluginTeddy Wing
Tried tcomment which is able to recognise the code and apply the appropriate comment instead of blindly using the comment format specified for the current file type. Removing commentary.vim as part of the switchover.
2014-06-29Add tcomment pluginTeddy Wing
Trying it out to see how it compares to commentary.vim. Getting annoyed that commentary.vim doesn't know to use JavaScript comments for a script embedded in HTML.