Compare commits
1 Commits
main
...
tweaking-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d142d85498 |
24
init.lua
24
init.lua
@@ -145,13 +145,33 @@ require('lazy').setup({
|
||||
require('telescope').setup {
|
||||
-- You can put your default mappings / updates / etc. in here
|
||||
-- All the info you're looking for is in `:help telescope.setup()`
|
||||
--
|
||||
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = { ['<c-enter>'] = 'to_fuzzy_refine' },
|
||||
},
|
||||
},
|
||||
-- pickers = {}
|
||||
pickers = {
|
||||
find_files = {
|
||||
theme = 'ivy',
|
||||
},
|
||||
grep_string = {
|
||||
theme = 'ivy',
|
||||
},
|
||||
live_grep = {
|
||||
theme = 'ivy',
|
||||
},
|
||||
diagnostics = {
|
||||
theme = 'ivy',
|
||||
},
|
||||
oldfiles = {
|
||||
theme = 'ivy',
|
||||
},
|
||||
buffers = {
|
||||
theme = 'dropdown',
|
||||
previewer = false,
|
||||
},
|
||||
},
|
||||
extensions = {
|
||||
['ui-select'] = {
|
||||
require('telescope.themes').get_dropdown(),
|
||||
|
||||
@@ -17,16 +17,16 @@ return {
|
||||
|
||||
local keymap = {
|
||||
['<C-u>'] = function()
|
||||
neoscroll.ctrl_u { duration = 150 }
|
||||
neoscroll.ctrl_u { duration = 100 }
|
||||
end,
|
||||
['<C-d>'] = function()
|
||||
neoscroll.ctrl_d { duration = 150 }
|
||||
neoscroll.ctrl_d { duration = 100 }
|
||||
end,
|
||||
['<C-b>'] = function()
|
||||
neoscroll.ctrl_b { duration = 300 }
|
||||
neoscroll.ctrl_b { duration = 100 }
|
||||
end,
|
||||
['<C-f>'] = function()
|
||||
neoscroll.ctrl_f { duration = 300 }
|
||||
neoscroll.ctrl_f { duration = 100 }
|
||||
end,
|
||||
['zt'] = function()
|
||||
neoscroll.zt { half_win_duration = 150 }
|
||||
|
||||
Reference in New Issue
Block a user