From 2d1d92d8a96646b4a88927a34e3ebde8596c274c Mon Sep 17 00:00:00 2001 From: Proctor Date: Thu, 25 Aug 2022 08:30:33 -0500 Subject: [PATCH] Fix some mappings and grepprg args --- nvim/.config/nvim/fnl/dotfiles/core.fnl | 2 +- nvim/.config/nvim/fnl/dotfiles/plugin/conjure.fnl | 1 + nvim/.config/nvim/fnl/dotfiles/plugin/lspconfig.fnl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nvim/.config/nvim/fnl/dotfiles/core.fnl b/nvim/.config/nvim/fnl/dotfiles/core.fnl index 03055ed..3519c78 100644 --- a/nvim/.config/nvim/fnl/dotfiles/core.fnl +++ b/nvim/.config/nvim/fnl/dotfiles/core.fnl @@ -60,7 +60,7 @@ :background "dark" :backupdir backup-dir :directory backup-dir ;Don't clutter my dirs up with swp and tmp files - :grepprg "ag --nocolor --nogroup --hidden --smart-case" ; Use Silver Searcher instead of grep + :grepprg "ag --vimgrep" ; Use Silver Searcher instead of grep :tags "tags" :updatetime 300 ; per coc.vim for diagnostic messages :signcolumn "auto:1-3" diff --git a/nvim/.config/nvim/fnl/dotfiles/plugin/conjure.fnl b/nvim/.config/nvim/fnl/dotfiles/plugin/conjure.fnl index e22fb4b..9fbfbd7 100644 --- a/nvim/.config/nvim/fnl/dotfiles/plugin/conjure.fnl +++ b/nvim/.config/nvim/fnl/dotfiles/plugin/conjure.fnl @@ -6,6 +6,7 @@ ; (set nvim.g.conjure#eval#result_register "*") ; (set nvim.g.conjure#log#botright true) (set nvim.g.conjure#mapping#doc_word "gk") +(set nvim.g.conjure#client#clojure#nrepl#mapping#session_clone :sC) (set nvim.g.conjure#extract#tree_sitter#enabled true) (conjure-config.assoc-in [:filetypes] (a.concat (conjure-config.filetypes) [:markdown] )) diff --git a/nvim/.config/nvim/fnl/dotfiles/plugin/lspconfig.fnl b/nvim/.config/nvim/fnl/dotfiles/plugin/lspconfig.fnl index d29a59f..63bbab5 100644 --- a/nvim/.config/nvim/fnl/dotfiles/plugin/lspconfig.fnl +++ b/nvim/.config/nvim/fnl/dotfiles/plugin/lspconfig.fnl @@ -76,7 +76,7 @@ :df [:drag-forward []] :dk [:destructure-keys []] :ed [:extract-to-def ["input('Definition name: ')"]] - :ed [:extract-function ["input('Function name: ')"]] + :ef [:extract-function ["input('Function name: ')"]] :el [:expand-let []] :fe [:create-function []] :il [:introduce-let ["input('Binding name: ')"]]