Commit Graph

100 Commits

Author SHA1 Message Date
chawley 2a420ecb04 Vim formatoptions
Messing with format options to make it easier for me to write markdown
bullet points in my notes.
2024-03-03 12:19:13 -05:00
chawley e43aa0908e Added words to custom dictionary 2024-03-01 22:11:48 -05:00
chawley f8872bea78 New keymaps for buffers/panes
I'm experimenting with using the arrow keys:

- <ctrl>-arrow left/right to switch buffers
- <alt>-arrow left/right/up/down to navigate panes

I left the old maps commented out in case this breaks something
2024-03-01 13:37:00 -05:00
chawley 9b4cce2f4f .vimrc <ctrl-r>
Removed keybinding shortcut for registers once I discovered it overrides
the keybinding for redo
2024-03-01 09:15:50 -05:00
chawley 5b5fc220d1 More .vimrc updates
- Re-arranged the status line
- changed colors of inactive pane to be more muted
- fixed header auto-populate on shell header
- enabled some setting for ft=yaml
2024-02-29 15:39:28 -05:00
chawley 754b89b71a uncommented line forgotten about after testing 2024-02-28 14:40:55 -05:00
chawley 36184cddd4 Cleaned up .vimrc
Re-arranged things to make it easier to see if I'm over-writing
keybindings.  Added comments to areas that didn't have any.  Reverted
some keybindings I found I wasn't using.

Also changed the Banner template to use double-quotes instead of
hash marks since I only ever use it in my .vimrc
2024-02-28 11:31:55 -05:00
chawley de4af48ee6 Updated README
Mostly to specify that I'll be making better commits so I don't have to
double my efforts by publishing a changelog here after every commit.
2024-02-27 14:19:56 -05:00
chawley f9039e7772 Fixed typo in markdown header update 2024-02-27 14:19:27 -05:00
chawley (tfadmin) 9f3a47b2e1 Shell header template
Automatically populate filename, creation date and modification date in
shell header.  Also add the ability to update header on old scripts
2024-02-27 18:54:25 +00:00
chawley 352d1f77c6 Added words to custom dictionary 2024-02-27 11:55:08 -05:00
chawley ba1cd76362 Template changes
Since my markdown templates use `Title` and the keyword for the filename
and my ReadingList template also used `Title` as a keyword, my
automations were getting confused.

I changed `Title` in the markdown template to `filename` to solve.

Also, I reverted my `poor man's surround` keybindings for an actual
plugin: `tpope/vim-surround`
2024-02-27 11:51:57 -05:00
chawley 8298e74e22 Auto close and disable conceal
Added keybinding to approximate auto close of brackets and parentheses.
Disabled `conceal` so I can see full inks and code fences
2024-02-26 18:44:06 -05:00
chawley 376bfe60ee Added auto close & disabled conceal
Added some lines to approximate auto closing of brackets and parentheses
and turned off `conceal` allowing me to see full links and code fencing
2024-02-26 18:25:25 -05:00
chawley d81ebbc07a Removed ALE plugin
Actually, I commented it out.  I don't think I'm using it and I don't
think I understand it.
2024-02-26 17:40:46 -05:00
chawley 729eabb51e Added words to custom dictionary 2024-02-26 15:58:00 -05:00
chawley 8617207a46 Buffer and Pane navigation
Changed keybindings so `<leader>` generally operates on panes and `<ctrl>` generally operates
on buffers.  Also adjusted some colors.
2024-02-26 15:56:08 -05:00
chawley fc2e6f39d4 Added words to custom dictionary 2024-02-25 20:30:57 -05:00
chawley 36fc79597a Template Improvements
Added a Reading List header template and added some functionality to the
Markdown header making it easier to add headers to existing files
2024-02-25 20:28:56 -05:00
chawley 65236003c5 Added words to custom dictionary 2024-02-25 18:28:29 -05:00
chawley 945f805543 Markdown header snippet
I made a shortcut to include a Markdown header on an existing file
by `,md` in normal mode.  This will insert the `,md` template and update
the title with the filename (minus extension)
2024-02-25 18:26:08 -05:00
chawley 993d717dfa Updated README.md 2024-02-25 13:41:19 -05:00
chawley 42808dbf59 Updated README.md 2024-02-25 13:37:48 -05:00
chawley fa67c5f5bf Added words to custom dictionary 2024-02-25 13:31:13 -05:00
chawley bdf7cbd88c Integrated vim-spellsync
Magically rebuild Vim spell files if word lists are modified outside of
Vim. One use case would be if word lists are stored in a source control
system like Git and shared across multiple computers\. SpellSync also
creates `.gitignore` and `.gitattributes` files in Vim's spell directories
to exclude binary spell files and uses its union merge driver to avoid
conflicts.
[link]](https://github.com/micarmst/vim-spellsync)
2024-02-25 13:26:06 -05:00
chawley d3407f9bab Added Markdown and shell scrip templates
and logic to update time stamps n those files for file creation and modification
2024-02-25 13:24:25 -05:00
chawley faa5aed9ed Added words to custom dictionary 2024-02-24 11:16:45 -05:00
chawley 3822bfed91 keybinding updates
* `<leader><leader` to open `:Files`
* `<leader>q`       to quit
* `<leader><space>` to clear highlights
2024-02-23 16:45:38 -05:00
chawley e64fc7a335 Added new words to custom dictionary 2024-02-23 16:45:00 -05:00
chawley fab299fa13 .vimrc - set folds
Set folds open by default in markdown files
2024-02-23 13:42:27 -05:00
chawley 802effee7e Fixed path in .gitignore
To ignore `.vim/.netrwhist`
2024-02-23 10:59:05 -05:00
chawley f7b1ea4b5b Vim Spellcheck
Modified `.gitignore` to source-control my custom dictionary in
`.vim/spell/*`
2024-02-23 10:08:51 -05:00
chawley 6f9fdab429 Added yaml to Markdown fenced languages 2024-02-22 16:51:20 -05:00
chawley 36bf857053 Replaced vimwiki
With:
* godlygeek/tabular
* preservim/vim-markdown

Inspired by [Writing Markdown in
Vim](https://codeinthehole.com/tips/writing-markdown-in-vim/), in an effort to get better Markdown productivity.
2024-02-22 14:35:39 -05:00
chawley (tfadmin) eaa36969c3 Vimwiki autowrite all
Enabled Vimwiki to autowrite, so when I edit a wiki file and hit
backspace, it automatically saves the file
2024-02-20 21:16:58 +00:00
chawley 78cd1de02a Changed Vimwiki extension to .md
* [How to use vimwiki filetype only for vimwiki files (not all .md files)](https://github.com/vimwiki/vimwiki/issues/95)
* [vimwiki filetype stays "vimwiki" regardless of \.md ext](https://www.reddit.com/r/neovim/comments/zx6rud/vimwiki_filetype_stays_vimwiki_regardless_of_md/)
2024-02-19 15:04:10 -05:00
chawley 65a17e9d5e Added some editing keybindings
* Autocomplete filename
* goto file
2024-02-19 14:38:48 -05:00
chawley bad34f2ce4 Vimwiki
Added the Vimwiki plugin and made configuration changes to use Markdown
format.
2024-02-19 14:30:36 -05:00
chawley 640034fb84 Changed Markdown template call from to 2024-02-18 15:42:29 -05:00
chawley eb31c22500 Added script to manaully create symlinks 2024-02-18 15:24:54 -05:00
chawley 3a1a81a671 Added script to manaully create symlinks 2024-02-18 15:24:54 -05:00
chawley de84627ad1 Update .vim/vim-keys-help.md
Fixed formatting (again)
2024-02-14 10:14:19 -05:00
chawley b6028f8adb Update personal help file
Also added keybind (`<leader>h`) to open it automatically
2024-02-14 10:01:50 -05:00
chawley 25a08e9aa5 Update .vim/vim-keys-help.md
Updated markdown with bullets, so it displays nicely in Gitea/GitHub
2024-02-13 13:02:10 -05:00
chawley 3123869e3c Merge pull request 'Updated README.md' (#2) from 20240213 into master
Reviewed-on: #2
2024-02-13 12:59:13 -05:00
chawley dc1af50d80 Updated README.md
Link to Vim Zero updated

Included basic directions to use with out the Ansible playbook I have to
auto-install
2024-02-13 12:57:12 -05:00
chawley 8a0582e0d5 Merge pull request 'Sweeping changes to vim environment' (#1) from 20241213 into master
Reviewed-on: #1
2024-02-13 11:32:43 -05:00
chawley 5613555960 Sweeping changes to vim environment
Details in README.md
2024-02-13 11:29:43 -05:00
chawley c34b245398 Added vim-keys help file to describe custom keybindings 2024-02-08 14:51:23 -05:00
chawley be3400c9f4 updated .vimrc with better keybindings 2024-02-08 14:50:32 -05:00