Compare commits
2 Commits
9f3a47b2e1
...
de4af48ee6
| Author | SHA1 | Date | |
|---|---|---|---|
| de4af48ee6 | |||
| f9039e7772 |
4
.vimrc
4
.vimrc
@@ -357,13 +357,13 @@ nnoremap ,ban :-1read $HOME/.vim/templates/banner<CR>jA
|
|||||||
nnoremap ,begend :-1read $HOME/.vim/templates/begend<CR>jA
|
nnoremap ,begend :-1read $HOME/.vim/templates/begend<CR>jA
|
||||||
|
|
||||||
" section shell script header
|
" section shell script header
|
||||||
nnoremap ,sh :0read $HOME/.vim/templates/sh<CR> <bar> :1<CR>dd <bar> :%s/filename/\=expand('%:t')/g<CR>
|
nnoremap ,sh :0read $HOME/.vim/templates/sh<CR> <bar> :1<CR>dd <bar> :4%s/filename/\=expand('%:t')/g<CR>
|
||||||
|
|
||||||
" section readinglist header
|
" section readinglist header
|
||||||
nnoremap ,rl :0read $HOME/.vim/templates/readinglist<CR> <bar> :1<CR>dd $
|
nnoremap ,rl :0read $HOME/.vim/templates/readinglist<CR> <bar> :1<CR>dd $
|
||||||
|
|
||||||
" section markdown file header
|
" section markdown file header
|
||||||
nnoremap ,md :0read $HOME/.vim/templates/md<CR> <bar> :1<CR>dd <bar> :4%s/filename/\=expand('%:t:r')/g<CR>
|
nnoremap ,md :0read $HOME/.vim/templates/md<CR> <bar> :1<CR>dd <bar> :%s/filename/\=expand('%:t:r')/g<CR>
|
||||||
|
|
||||||
" ---------------------------------------------------------------------------------------------------------------------
|
" ---------------------------------------------------------------------------------------------------------------------
|
||||||
" ==> NetrwTreeListing readonly fix (https://vi.stackexchange.com/a/13012)
|
" ==> NetrwTreeListing readonly fix (https://vi.stackexchange.com/a/13012)
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -1,8 +1,7 @@
|
|||||||
# dotfiles-vim
|
# README - dotfiles-vim
|
||||||
|
|
||||||
- Updated : 2024-02-25 13:41
|
- Created :
|
||||||
|
- Updated : 2024-02-27 14:19
|
||||||
---
|
|
||||||
|
|
||||||
I want to finally have a `.vimrc` in which I understand each and every line. After years of collecting snips and
|
I want to finally have a `.vimrc` in which I understand each and every line. After years of collecting snips and
|
||||||
scraps from other people's dotfiles, I want to make sure that I am aware of what my `.vimrc` is doing.
|
scraps from other people's dotfiles, I want to make sure that I am aware of what my `.vimrc` is doing.
|
||||||
@@ -27,9 +26,9 @@ Then open vim and install (or update) the plugins with `:PlugInstall` (or `:Plug
|
|||||||
|
|
||||||
* 2024-02-13: Several changes:
|
* 2024-02-13: Several changes:
|
||||||
* Included more comments and links about what each entry does
|
* Included more comments and links about what each entry does
|
||||||
* Removed polyglot plugin
|
* Removed `polyglot` plugin
|
||||||
* Removed ALE plugin
|
* Removed `ALE` plugin
|
||||||
* Removed vim-markdown plugin
|
* Removed `tpope/vim-markdown` plugin
|
||||||
* Removed netrw customizations
|
* Removed netrw customizations
|
||||||
* Removed auto templates, changed them to snippets:
|
* Removed auto templates, changed them to snippets:
|
||||||
* Insert markdown header with `,md`
|
* Insert markdown header with `,md`
|
||||||
@@ -42,4 +41,5 @@ Then open vim and install (or update) the plugins with `:PlugInstall` (or `:Plug
|
|||||||
* 2024-02-25:
|
* 2024-02-25:
|
||||||
* Added [vim-spellsync](https://github.com/micarmst/vim-spellsync) plugin and made the needed changes to accommodate
|
* Added [vim-spellsync](https://github.com/micarmst/vim-spellsync) plugin and made the needed changes to accommodate
|
||||||
* Reworked markdown and shell script templates to update dates in headers automatically.
|
* Reworked markdown and shell script templates to update dates in headers automatically.
|
||||||
|
* Started making better commit messages in order to avoid having to document details in README :)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user