Add precogntion for motion hints
This commit is contained in:
parent
9e73352f7a
commit
7a939f52c8
3 changed files with 14 additions and 1 deletions
|
|
@ -41,6 +41,17 @@ let
|
||||||
sha256 = "sha256-+MzEGnhlrYRvAfskOwmw69OC1CsPXt7s3z+xPe9XPqs";
|
sha256 = "sha256-+MzEGnhlrYRvAfskOwmw69OC1CsPXt7s3z+xPe9XPqs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vim-precognition = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "vim-precognition";
|
||||||
|
version = "2024-05-26";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "tris203";
|
||||||
|
repo = "precognition.nvim";
|
||||||
|
rev = "b40c3539f95504bea2ac4ac4dc866a95edba6d4d";
|
||||||
|
sha256 = "sha256-fyaMWL0MsmWJ8KcY1QkbtoZ7tDbIbFbEYgA/ZsOoVSk=";
|
||||||
|
};
|
||||||
|
};
|
||||||
in
|
in
|
||||||
with builtins;
|
with builtins;
|
||||||
{
|
{
|
||||||
|
|
@ -51,6 +62,7 @@ with builtins;
|
||||||
vim-sensible
|
vim-sensible
|
||||||
vim-startify
|
vim-startify
|
||||||
vim-catppuccino
|
vim-catppuccino
|
||||||
|
vim-precognition
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = fzf-vim;
|
plugin = fzf-vim;
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@ autocmd BufWritePre * :%s/\s\+$//e
|
||||||
noremap ; :
|
noremap ; :
|
||||||
inoremap jj <Esc>
|
inoremap jj <Esc>
|
||||||
noremap Q <nop>
|
noremap Q <nop>
|
||||||
|
noremap ? :lua require("precognition").peek()<CR>
|
||||||
|
|
||||||
""" Esperanto digraphs (for use with ctrl-k)
|
""" Esperanto digraphs (for use with ctrl-k)
|
||||||
:digraph Cx 264
|
:digraph Cx 264
|
||||||
|
|
@ -69,7 +70,6 @@ noremap Q <nop>
|
||||||
|
|
||||||
""" Terminal mode remaps
|
""" Terminal mode remaps
|
||||||
tnoremap <Esc> <C-\><C-n>
|
tnoremap <Esc> <C-\><C-n>
|
||||||
nnoremap <leader>o :below 10sp term://$SHELL<cr>i
|
|
||||||
|
|
||||||
" Quicker window movement
|
" Quicker window movement
|
||||||
nnoremap <C-j> <C-w>j
|
nnoremap <C-j> <C-w>j
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,7 @@ in
|
||||||
keycastr
|
keycastr
|
||||||
discord
|
discord
|
||||||
postbird
|
postbird
|
||||||
|
pkgs.ngrok
|
||||||
|
|
||||||
# wishlist
|
# wishlist
|
||||||
# todo (unsupported on aarch64-darwin):
|
# todo (unsupported on aarch64-darwin):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue