aad3027a89
nvim: after/ftplugin/qf: Use leader key for colder/cnewer
2022-04-03 08:54:34 +05:30
2d17fe00ab
nvim: autoload/git: Use difftool for review
...
The difftool version is actually useful since it populates the quickfix
list when the -y argument is not used. This gives rise to a possibility
where the quickfix list can be filtered to ignore or look only at files
we want.
While at it also add the version which opens each changed file in a tab
and gives a diffsplit view.
2022-04-03 08:53:46 +05:30
6ae7da9eca
nvim: autoload/git: Introduce a difftool version for git diff
2022-04-02 17:21:23 +05:30
c95289343a
nvim: autoload/git: Fix the arguments to diff
...
Not sure how we keep getting this wrong.
2022-04-02 11:04:13 +05:30
78d986ab26
nvim: plugin/shell: Add key mapping to run jq on visual selection
...
While at it, add some explanation to the functions for posterity.
2022-04-01 19:14:07 +05:30
8e851ef1a8
nvim: plugin/shell: Add key mapping to invoke ripgrep easily
2022-04-01 18:22:53 +05:30
d4a5bc933c
nvim: plugin/shell: Allows getting shell command output in temp buffer
...
Taken from
https://stackoverflow.com/questions/10493452/vim-open-a-temporary-buffer-displaying-executables-output
2022-03-29 15:16:02 +05:30
9ebbd3640b
nvim: after/plugin/fzf: BCommits also supports visual selection
...
BCommits supports visual selection of lines to track changes in
the range.
2022-03-27 19:26:36 +05:30
701bd244be
Allow seamless navigation between vim and tmux splits
2022-03-27 16:12:08 +05:30
758e624b07
nvim: autocmd: Do not run AnsiEsc on loading of log files
2022-03-27 16:12:08 +05:30
1325929554
nvim: after/plugin/fzf: Use tmux popups when in tmux
2022-03-24 09:36:04 +05:30
7ad8a95d21
Revert "nvim: plugins: Switch to fzf-lua"
...
This reverts commit 447d4e50b5
.
Switch back to fzf.vim as it supports tmux popups.
2022-03-24 09:16:50 +05:30
9352f12192
Revert "nvim: after/plugin/fzf-lua: Update actions for commits"
...
This reverts commit b10ba79940
.
Reverting this as a step to bring back fzf.vim.
2022-03-24 09:16:50 +05:30
2ed668e2c1
nvim: Update packer
2022-03-24 09:16:50 +05:30
d9746a1c73
nvim: statusline: Decrease the truncation width for git status
2022-03-23 10:28:22 +05:30
ac29090179
nvim: init: Fix copy and paste with clipboard when using tmux
2022-03-17 16:59:53 +05:30
2e8f138f8b
nvim: plugin: Add a plugin to help with epoch timestamp conversions
...
We look at logs frequently these days with epoch timestamps and this
helps with getting the human readable timestamp and vice versa.
2022-03-14 13:36:45 +05:30
131e5bb364
nvim: after/plugin/snipcomp: Lazy load LuaSnip
...
LuaSnip needs to be lazy loaded now else it slows down the startup.
2022-03-14 13:36:45 +05:30
5c6eebf9b5
nvim: autocmd: Fix cursor shape on exiting nvim
...
This is required when using foot.
See related issue
https://codeberg.org/dnkl/foot/issues/797
https://codeberg.org/dnkl/foot/issues/798
2022-03-11 10:32:00 +05:30
39f9628197
nvim: autocmd: Refactor the way we call auto command API
2022-03-06 17:48:50 +05:30
28049ed540
nvim: lsp: Use the new auto command API
2022-03-06 14:46:27 +05:30
39acdb222f
nvim: statusline: Use the new auto command API
2022-03-04 20:19:20 +05:30
0246931b56
nvim: after/plugin/statusline: Add a git branch ahead behind component
...
Taken from
https://www.reddit.com/r/neovim/comments/t48x5i/git_branch_aheadbehind_info_status_line_component
2022-03-04 10:14:46 +05:30
16d3b05a8f
nvim: plugins: Drop nvim-gps
2022-03-02 10:46:45 +05:30
564448abc7
nvim: Update packer
2022-03-02 09:06:17 +05:30
ca7172b14a
nvim: autocmd: Use the new auto command API
2022-03-02 09:06:17 +05:30
b10ba79940
nvim: after/plugin/fzf-lua: Update actions for commits
2022-02-26 13:26:11 +05:30
6fb0c62a4b
nvim: yolokai: Change the hint background
...
This improves the color highlight for inlay hints.
2022-02-22 13:43:29 +05:30
96bc70fff8
Revert "nvim: autoload/git: Fix git log when current branch is master/main"
...
This reverts commit da5671b5ae
.
The commit actually did not handle all cases correctly.
2022-02-19 14:14:40 +05:30
795fd7f36a
nvim: treesitter: Enable HTML
2022-02-17 15:08:04 +05:30
2fd1922193
nvim: Update packer
2022-02-16 09:54:45 +05:30
6bf989871e
nvim: statusline: Fix tree-sitter status
...
Fixing based on file type was not good enough. Check for error
return and act accordingly.
2022-02-13 14:01:03 +05:30
ac3039d64b
nvim: after/plugin/fugitive: Improve git stash command mapping
2022-02-13 14:01:03 +05:30
6dd369b137
nvim: autoload/git: Use diff instead of difftool
2022-02-12 10:18:28 +05:30
447d4e50b5
nvim: plugins: Switch to fzf-lua
2022-02-10 21:31:57 +05:30
da5671b5ae
nvim: autoload/git: Fix git log when current branch is master/main
2022-02-10 21:31:57 +05:30
4edfa99a21
nvim: autoload/ftplugin: git: Add helper for format-patch
2022-02-10 21:31:57 +05:30
9c16443e10
nvim: statusline: Handle some more cases for filename & treesitter status
2022-02-10 21:31:57 +05:30
7d70992eae
nvim: after/plugin/fugitive: Add mapping to help with review
2022-02-10 21:20:51 +05:30
05bbba29a9
nvim: after/plugin/fugitive: Mapping for diffing in a new tab in Gstatus
2022-02-10 21:20:51 +05:30
316c17ad13
nvim: after/plugin/fugitive: Improve the diff commands
...
There was no need for the tab command shenanigans.
2022-02-10 21:20:51 +05:30
3c62e9f330
nvim: Update packer
2022-02-10 13:00:11 +05:30
66af0bbd9e
nvim: after/plugin/statusline: Use nvim-gps for statusline
2022-02-09 18:14:12 +05:30
f316cad185
nvim: Update packer
2022-02-08 15:47:57 +05:30
1484315caa
nvim: plugins: Add textobj-comment
2022-02-08 15:47:57 +05:30
819494b4bb
nvim: after/plugin/word-column: Change default mappings for textobj-word-column
...
We want to use vim-textobj-comment and hence need to make the ac mapping
available.
2022-02-08 15:47:57 +05:30
8b424a2533
nvim: after/plugin/statusline: Use nvim_set_hl API
...
See https://github.com/neovim/neovim/pull/17187 .
2022-02-08 15:47:57 +05:30
60478a59b0
nvim: after/plugin/fugitive: Make diff & difftool usage painless
2022-02-08 15:47:57 +05:30
73ceafcda2
nvim: keymappings: Make Esc cancel highlight search as well
2022-02-08 15:47:57 +05:30
59490d131a
nvim: colors/yolokai: Disable under curl for diagnostics
...
While we like having undercurl for diagnostics, most code bases are
garbage and linters/LSP show warnings all over the place. Seeing the
screen filled with red undercurls feels jarring. Disable them. Can't
expect people to do things properly.
2022-01-31 19:59:28 +05:30