aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2021-11-11 15:09:05 -0700
committerCody Hiar <cody@hiar.ca>2021-11-11 15:09:05 -0700
commit69a79e0d0fd0aee30674acff3ffc6996922dbfa6 (patch)
tree61348dd41a6f78204494ecb27b19b9875070f69d
parent6432c6d00bb66818107c82930ac138c2bdafc8c9 (diff)
Use lf instead of ranger, much faster
-rw-r--r--init.lua15
1 files changed, 9 insertions, 6 deletions
diff --git a/init.lua b/init.lua
index 3c77fa7..3a34be0 100644
--- a/init.lua
+++ b/init.lua
@@ -159,8 +159,10 @@ map('n', '<leader>ew', '<cmd>ArgWrap<cr>', options)
map('n', '<leader>gs', '<cmd>Git<cr>', options)
map('n', '<leader>gd', '<cmd>Gdiffsplit<cr>', options)
-map('n', '<leader>m', '<cmd>Ranger<cr>', options)
-map('n', '<leader>n', '<cmd>RangerWorkingDirectory<cr>', options)
+-- map('n', '<leader>m', '<cmd>Ranger<cr>', options)
+-- map('n', '<leader>n', '<cmd>RangerWorkingDirectory<cr>', options)
+map('n', '<leader>m', '<cmd>LfWorkingDirectory<cr>', options)
+map('n', '<leader>n', '<cmd>Lf<cr>', options)
map('', '<leader>s', '<cmd>HopChar2<cr>', options)
@@ -280,10 +282,6 @@ return require('packer').startup(function()
use 'tpope/vim-repeat'
use {
'nvim-telescope/telescope.nvim',
- -- https://github.com/nvim-telescope/telescope.nvim/issues/1443
- -- The latest versions of telescope require 0.5.1 and there is no versioning
- -- so I ping to and old commit because it all still works with 0.5.0
- commit = "3b9ac8e",
requires = {
{'nvim-lua/plenary.nvim'},
{'glepnir/lspsaga.nvim'},
@@ -373,6 +371,11 @@ return require('packer').startup(function()
-- bclose gets rid of "[Process exited 0]" annoyance
requires = { {'rbgrouleff/bclose.vim'} },
}
+ use {
+ 'ptzz/lf.vim',
+ -- Adds a floating window
+ requires = { {'voldikss/vim-floaterm'} },
+ }
use 'bkad/CamelCaseMotion'
use {
'phaazon/hop.nvim',