nvim: work on replacing telescope
This commit is contained in:
parent
390cb418ea
commit
736499a0ad
2
src/dot_config/bat/config
Normal file
2
src/dot_config/bat/config
Normal file
@ -0,0 +1,2 @@
|
||||
# For all themes, run `bat --list-themes`
|
||||
--theme="ansi"
|
@ -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
|
||||
|
@ -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/)
|
||||
|
Loading…
Reference in New Issue
Block a user