Commit Graph
100 Commits
Author SHA1 Message Date
chawley 0edac00442 Testing autowrite,autoread for md files
Will autosave Markdown files on exit. Should also read changes made
outside of Vim. Purpose: to minimize file conflicts in Syncthing.
2025-05-17 20:09:09 -04:00
chawley cc9e42b469 Added more words to dictionary +abbreviations
Added some commonly misspelled words to my .vimrc abbreviations
2025-05-14 11:49:13 -04:00
chawley 1274eb0597 Removed filename from readinglist template 2025-05-12 21:50:47 -04:00
chawley 18ae6546e6 ExtractWikiLinks
Added a separate function to extract wiki links
It must be sourced on-demand, since it's not tested
2025-05-10 19:31:56 -04:00
chawley 7f94c04724 Removed extraneous comments, improved keybindings
Finally removed all the commented out lines that I was saving in case I
needed to roll them back. Switched some keybindings to keys that made
more sense.
2025-05-08 20:34:37 -04:00
chawley 9bc08347a8 Added vim-signify
and configured to show Git info in gutter. Updated config to show more
git info in statusline
2025-05-08 16:58:35 -04:00
chawley b7ca4be5cf .vimrc with the custom colors mostly removed
relying on the colorscheme
2025-05-08 08:48:23 -04:00
chawley fdc6ea1ef3 FZF wiki links
Added functions to use FZF to insert file links into current buffer.
- `<ctrl>-p` for wiki link
- `<ctrl>-l` for file name
2025-04-29 18:00:56 -04:00
chawley 08bf9e7354 Added if/then to ignore directive incompatible with nvim
Aiming to keep .vimrc compatible with nvim for testing.
2025-04-28 14:27:13 -04:00
chawley 81ac79f7b4 Fixed buffer navigation keybind.
<crtl>-<left> and <crtl>-<right> to navigate open buffers.
2025-04-28 09:45:08 -04:00
chawley 97bd1e0365 Added CHANGELOG.md
Created a function that will generate a CHANGELOG from my previous 25
commits, so I don't have to keep updating the README.md file
2025-04-24 19:34:29 -04:00
chawley 9dbe4a87c0 Disable folding for yaml
Disable fold for yaml files
2025-04-24 19:05:01 -04:00
chawley b052f7fa32 Added line number toggle and colorscheme customization
- <leader>n to toggle line numbers
- source ~/.vimcustom (if exists) for custom colorscheme
- disable airline theme (let it inherit from colorscheme
-
2025-04-23 11:26:36 -04:00
chawley fe39e86bb5 added words to dictionary 2025-04-20 12:57:00 -04:00
chawley aaf5d31567 Reworked Spell Check Section
Removed the global nospell autocommands:
  The lines `autocmd BufRead,BufNewFile * setlocal nospell` and
  `autocmd BufRead,BufNewFile *.* setlocal nospell` have been removed.
  These were turning off spell checking for all files.
2025-04-15 13:05:56 -04:00
chawley d2821c7df6 .vimrc changes
- Theme: darkburn
- ASCII foldchars
- Changed keybinding for notes to `<leader>nn`
-
2025-04-14 15:01:21 -04:00
chawley 750376d311 Added no line break to wrap toggle 2025-04-14 12:56:37 -04:00
chawley c63cb6ae86 Added keybinding for datestamp
Added additional keybinding to mimic datestamp entry from VS Code (<crtl><shift>-i)
2025-04-14 09:49:54 -04:00
chawley a2c808e92d Added words to custom dictionary 2025-04-14 09:48:32 -04:00
chawley 41a036f3ec Updated README 2025-04-14 09:17:33 -04:00
chawley 48dd07630c Upgraded vim-plug plugin
via :PlugUpgrade
2025-04-14 09:07:06 -04:00
chawley b2bacfae4f .vimrc and rm old templates
Removed unused templates, added word-wrap to .vimrc
2025-04-14 09:01:36 -04:00
chawley 6372ff4c5d text width = 135
Increased text width to 135 by default.
2024-05-21 19:07:16 -04:00
chawley 89fdfb9fec Changed keybinding for FZF paste
Press <ctrl>-p to paste the filename of the file selected by FZF
2024-05-09 07:34:12 -04:00
chawley f4f82ad175 .vimrc - removed reference to filenames in markdown frontmatter 2024-05-03 15:56:58 -04:00
chawley 97f7d506f8 Markdown Frontmatter
I removed the filename from markdown frontmatter. I've renamed file and
the filename in the frontmatter doesn't update. That's a recipe for
confusion later
2024-05-03 15:48:07 -04:00
chawley 244c5ed80c Added words to custom dictionary 2024-04-24 19:16:31 -04:00
chawley 67569b9a13 Added link to ref for 2024-04-23 19:40:25 -04:00
chawley 91e5cd5405 Leader-f to fuzzy search word under cursor
`<leader>-f` to open FZF window with word under cursor pre-populated
2024-04-23 19:20:05 -04:00
chawley 0fa0c06df9 Frontmatter for readinglist
Reverted readinglist frontmatter to standard format with yaml delimiters
and bracketed tags
2024-04-16 19:28:39 -04:00
chawley d0cfda726a Frontmatter tag format
Frontmatter tags should be a list (in brackets). If I'm going to do
this, I may as well do it right.
2024-04-15 08:12:46 -04:00
chawley 5669fb21aa Re-added proper frontmatter to markdown template
I'd removed the hashmarks from the markdown frontmatte tempplate so I
could use tags in SilverBullet, but decided against using SilverBullet
regularly. Not enough to break proper formatting.
2024-04-15 07:56:03 -04:00
chawley 2784a69fe3 Removed timestamps from Markdown Files
I removed the time from markdown `fileupdated` datestamps. I don't need
that level of reference. The date a file was updated is fine.
2024-04-10 10:25:50 -04:00
chawley 20e6cb3e9b Color Changes
Updated column colum and visual select color
2024-04-04 19:57:24 -04:00
chawley 8b9ec43532 New Frontmatter
II reworked the frontmatter in the templates to be more accessible to
SilverBullet
2024-04-03 12:02:13 -04:00
chawley 501dab269b GFiles
Added a keybinding (<leader>f) to bring up the FZF results for Git files
2024-03-20 13:20:27 -04:00
chawley 068e40a4cf ctrl-o to paste file from FZF buffer 2024-03-18 18:48:27 -04:00
chawley b17087c810 colorscheme jelleybeans
Also removed a bunch of comments from changed I held onto until I was
sure they worked.
2024-03-14 07:59:08 -04:00
chawley 0c62678a90 Vim Bullets
While troublshooting markdown bullets in Vim, I commented out a bunch
of extraneous options. I'll leave it like this for a bit before removing
anything permanently.
2024-03-11 17:29:36 -04:00
chawley 66ec1489f5 ReadingList template tweak
I added spaces and a title to the ReadingList template since I add those
for every book I use this template with.
2024-03-11 08:28:57 -04:00
chawley 529508f7db Frontmatter
I changed the markdown and readinglist templates to a "frontmatter"
format. Hoping to see if I can make my notes more easily processed by
using a pre-defined header.
2024-03-09 19:17:50 -05:00
chawley 46237ae49c vim-airline
Commented out my status line settings in favor of vim-airline
2024-03-07 13:30:25 -05:00
chawley 4a23a48109 Added words to custom dictionary 2024-03-07 11:20:14 -05:00
chawley 8b5d5e7fd5 Vim Bullets
More changes to `formatoptions` and installed vim-bullets to try to solve
my markdown bullet formatting issues.
2024-03-07 06:37:30 -05:00
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 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 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
chawley 6d72737816 Updated python and markdown templates 2024-02-08 14:48:11 -05:00
chawley 3c06504075 Changed vim keymapping for fuzzy-finder
Changed mapping to <leader>-f  (for Files!)
2024-02-07 14:44:43 -05:00
chawley 52a47ccc91 Merge branch 'master' of castlerock.planethawleywood.com:/chawley/dotfiles-vim 2021-02-23 17:19:18 -05:00
chawley e215d5e145 Updates templates 2021-02-23 17:19:09 -05:00
chawley 80a0ad8b12 Turned off set formatoptions-=ro 2021-02-23 17:19:09 -05:00
chawley c63d385ff9 Some new .vimrc fixes 2021-02-23 17:19:02 -05:00
chawley c8c097f13c Updates templates 2021-02-23 17:17:09 -05:00
chawley c0dfe1f06b Turned off set formatoptions-=ro 2021-02-23 16:02:54 -05:00