nvim: work on replacing telescope

This commit is contained in:
dogeystamp 2024-09-13 21:09:49 -04:00
parent 390cb418ea
commit 736499a0ad
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,2 @@
# For all themes, run `bat --list-themes`
--theme="ansi"

View File

@ -20,6 +20,25 @@ tnoremap <silent> <esc> <c-\><c-n><c-\><c-n>
" enable line numbers
set number relativenumber
" use same colors as alacritty for integrated terminals
let g:terminal_color_0 = "#000000"
let g:terminal_color_1 = "#afaaaa"
let g:terminal_color_2 = "#505559"
let g:terminal_color_3 = "#a7a7a7"
let g:terminal_color_4 = "#56698a"
let g:terminal_color_5 = "#d5d5d5"
let g:terminal_color_6 = "#99AABB"
let g:terminal_color_7 = "#e5e9f0"
let g:terminal_color_8 = "#4c566a"
let g:terminal_color_9 = "#bf616a"
let g:terminal_color_10 = "#a3be8c"
let g:terminal_color_11 = "#ebcb8b"
let g:terminal_color_12 = "#81a1c1"
let g:terminal_color_13 = "#b48ead"
let g:terminal_color_14 = "#8fbcbb"
let g:terminal_color_15 = "#eceff4"
" disable bottom right status line
set noruler
set showtabline=0

View File

@ -28,13 +28,20 @@ require('dressing').setup({
-- requires plenary.nvim
vim.cmd.packadd("telescope.nvim")
keymap("<leader>ef", "<cmd>Telescope find_files<cr>")
--keymap("<leader>ef", "<cmd>Telescope find_files<cr>")
keymap("<leader>eg", "<cmd>Telescope live_grep<cr>")
keymap("<leader>em", "<cmd>Telescope buffers<cr>")
keymap("<leader>eh", "<cmd>Telescope help_tags<cr>")
keymap("<leader>es", "<cmd>Telescope lsp_dynamic_workspace_symbols<cr>")
keymap("<leader>eb", "<cmd>Telescope keymaps<cr>")
--------
-- generic brand fuzzy finder
--------
local scope = require("scope")
keymap("<leader>ef", scope.file_finder)
--------------------------------
--------------------------------
-- imports (see .config/nvim/lua/)