From 69a79e0d0fd0aee30674acff3ffc6996922dbfa6 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Thu, 11 Nov 2021 15:09:05 -0700 Subject: Use lf instead of ranger, much faster --- init.lua | 15 +++++++++------ 1 file 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', 'ew', 'ArgWrap', options) map('n', 'gs', 'Git', options) map('n', 'gd', 'Gdiffsplit', options) -map('n', 'm', 'Ranger', options) -map('n', 'n', 'RangerWorkingDirectory', options) +-- map('n', 'm', 'Ranger', options) +-- map('n', 'n', 'RangerWorkingDirectory', options) +map('n', 'm', 'LfWorkingDirectory', options) +map('n', 'n', 'Lf', options) map('', 's', 'HopChar2', 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', -- cgit v1.2.3