aboutsummaryrefslogtreecommitdiffstats
path: root/projects
AgeCommit message (Collapse)Author
2024-03-12projects/aodocs.vim: Add email signature mappingTeddy Wing
Mapping to make it easier to insert a pre-defined signature in emails.
2023-11-06projects/aodocs.vim: Set 'path' on Smartbar projectTeddy Wing
Enable `gf`.
2023-08-09projects/aodocs.vim: Move 'wchat' plugin here and change file pathTeddy Wing
I only use this command in an AODocs context. Today, I decided to change the path where these temporary files are saved. Since the path now uses a project-specific path variable, it made sense to move the command into the project file.
2022-06-01vimrc: Disable context.vim by defaultTeddy Wing
Enable it by default in AODocs paths.
2021-10-06projects/aodocs.vim: Make `s:TodoCopyLast()` work for second entryTeddy Wing
When only a single TODO day entry exists in a file, this function would fail with a "pattern not found" error because the copy pattern expects at least two entries in a file. Alter the function so that it also works when only one entry is present in the file.
2021-08-29projects/aodocs.vim: Use the current date in new TODO entryTeddy Wing
When creating a new TODO entry, always use the current date instead of incrementing the final 'day' segment with <C-a>. That would cause issues when incrementing from "07" (results in "010" instead of "08" because it assumes it's in octal), and "08" (results in "9" without a leading zero, though I'm not sure why).
2020-09-23projects/aodocs.vim: Add `htodo` abbreviation to insert JSDoc TODOTeddy Wing
Make it easier to insert reminder comments to write a JSDoc block.
2020-09-07projects/aodocs.vim: Use camel case for Go struct tagsTeddy Wing
AODocs JSON uses camel case, so this seems like a sensible default.
2020-07-04projects/aodocs.vim: Set 'path' for UFO extension projectTeddy Wing
Enable `gf` and related commands to work by setting the proper 'path', and ensuring the `.js` suffix is used on files.
2020-05-08projects/aodocs.vim: Add mapping to copy the last TODO entryTeddy Wing
I've been keeping a daily to-do list. Every day, I copy yesterday's entry and use it as today's with some modifications. Add a mapping to automate copying the previous day's entry.
2020-04-24projects/aodocs.vim: Add SCSS and TypeScript indentationTeddy Wing
2020-04-01projects/aodocs.vim: Update UFO Go import pathTeddy Wing
The import path was renamed.
2020-02-26projects/aodocs.vim: Use Firefox Nightly for :GoPlayTeddy Wing
2020-02-12projects/aodocs.vim: Add `JiraOpen` commandTeddy Wing
A command that opens the Jira ticket ID cWORD in the browser.
2019-11-18projects/aodocs.vim: Add <C-x>u command mapping to insert UFO ticket folderTeddy Wing
Add a shortcut to quickly insert the UFO ticket folder path at the command line to save me the trouble of having to type & complete it manually.
2019-10-15projects/aodocs.vim: Set Shell indentation rulesTeddy Wing
2019-09-30projects/aodocs.vim: Set CSS indentation rulesTeddy Wing
2019-09-30projects/aodocs.vim: Add mappings to enable/disable ESLint debuggerTeddy Wing
Mappings for JavaScript files that add and remove the `no-debugger: warn` rule to `.eslintrc`.
2019-09-02projects/aodocs.vim: Add comment leader 'formatoptions'Teddy Wing
Automatically insert the comment leader to facilitate JSDoc comments.
2019-07-11projects/aodocs.vim: Set HTML indentation rulesTeddy Wing
2019-07-03projects/aodocs.vim: Add mappings to run `ufo-cache-syncclient` programTeddy Wing
Mappings to modify the client build cache without leaving Vim. Use `:silent` combined with `<C-l>` to avoid the hit-enter prompt.
2019-06-08projects/aodocs.vim: Silence Git commit title length mappingsTeddy Wing
Otherwise the function call appears in the command line which is distracting.
2019-06-08projects/aodocs.vim: Make commit title length variable based on issue IDTeddy Wing
Make the commit title length 72 characters plus the length of the ID followed by a colon and space.
2019-06-08projects/aodocs.vim: Allow longer Git commit titlesTeddy Wing
Since AODocs commit message style prefers putting Jira IDs at the very start of commit messages, give myself more room in the title. Personally I think references should be at the end of a commit message, so I'm going to take back the extra characters. TODO: Dynamically calculate the issue ID length and adjust the textwidth to 72 + that value.
2019-05-24projects/aodocs.vim: Set indentation in JavaScript and JSON filesTeddy Wing
2019-05-10Set `GoGuruScope` in AODocs UFO projectTeddy Wing
To enable `:GoCallers` by telling it to search in the root package.
2018-02-19projects/af83.vim: Add `NO_RCOV=1` to `g:rspec_command`Teddy Wing
Speed up tests by disabling the test coverage report generator using the STIF project's custom environment variable flag.
2017-12-13projects/af83.vim: Add abbreviations for OuibusTeddy Wing
I'm not supposed to write this word, so change it to the code word automatically if I happen to write it accidentally in a commit message. Interestingly, the bars (`|`) need to go either right next to the backslashes (`\`) or right after the right-hand side, as in: inoreabbrev <buffer> Ouibus the socle commun| Otherwise, if a space is before the `|`, that space becomes part of the abbreviation's right-hand side.
2017-09-19vimrc: Add <leader>mk mapping to save Vim sessionTeddy Wing
I had previously defined this command as 'af83'-project-specific. Now I've become used to it and want to use it everywhere, so promote it to a global mapping.
2017-07-31projects/af83.vim: Move `g:rspec_command` setting from stif.vim hereTeddy Wing
Instead of using Spring for RSpec only on the STIF project, use it for all af83 projects.
2017-05-31Add projects/stif.vimTeddy Wing
A project-specific config for the STIF app. Set a custom RSpec command for rspec.vim that runs the Spring preloader instead of calling RSpec directly. This allows us to eliminate the slow-as-molasses Rails startup time when iterating on code with tests.
2017-05-04projects/af83.vim: Set a custom .agignore for PickTeddy Wing
When opening files with Pick and pick.vim, use a project-level .agignore file to ignore files and directories that shouldn't be searched when fuzzy-finding. This allows us to eliminate vendor directories like `node_modules` from the search path.
2017-03-13Add projects/af83.vimTeddy Wing
Create a new project-specific config for AF83. Add a project-specific mapping to save the current Vim session to a file called 'vimsession'.
2016-08-01Add command to post mentor logs to The Firehose ProjectTeddy Wing
It finally became tedious to have to manually execute my custom script that posts a mentor log to The Firehose Project in a new shell. Create a new command that will run the script directly within Vim so I don't have to leave the editor. Actual file paths are stored in `projects/file-paths.vim`. Need to set the `BUNDLE_GEMFILE` so that the Ruby gems required by the script get loaded. The absolute path of the current file gets passed to the script for posting.
2015-09-23projects/flashnotes.vim: Open HTML files as `htmldjango`Teddy Wing
Assume all Flashnotes HTML files are 'htmldjango'-type files (as they typically are since Flashnotes is a Django project). This will preclude me from having to `set ft=htmldjango` when I want to see syntax colours for Django template tags.
2015-07-27projects/flashnotes.vim: Remove g:CommandTMaxFiles settingTeddy Wing
No longer using the Command-T plugin, so this setting is irrelevant now.
2015-07-27Track project-specific config filesTeddy Wing
* Remove project files from the ignore list * Add project config files as they are now * Create a new untracked file to keep track of project directory paths The reason why I never tracked project files in the repo was because I didn't want my file paths to be shared publicly. But over time I've been making changes to my `flashnotes.vim` config and wanted to be able to track those changes, especially the `ctags` ones. Now, I'm able to track those config files and still hide my file paths from public view using a set of environment variables defined in `.vim/projects/file-paths.vim`.