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