Comments (3)
Thanks for the report.
However, it seems to be working fine in my environment.
minvimrc
set encoding=utf-8
filetype plugin indent on
if has('vim_starting')
let s:pluin_manager_dir='~/.config/nvim/.plugged/vim-plug'
execute 'set runtimepath+=' . s:pluin_manager_dir
endif
call plug#begin('~/.config/nvim/.plugged')
Plug 'tamago324/lir.nvim'
Plug 'kyazdani42/nvim-web-devicons'
Plug 'nvim-lua/plenary.nvim'
call plug#end()
set nobackup
set nowritebackup
set noswapfile
set updatecount=0
set backspace=indent,eol,start
language messages en_US.utf8
lua << EOF
local actions = require'lir.actions'
require'lir'.setup {
show_hidden_files = false,
devicons_enable = true,
mappings = {
['l'] = actions.edit,
['h'] = actions.up,
['q'] = actions.quit,
},
float = {
winblend = 0,
curdir_window = {
enable = true,
highlight_dirname = true,
},
-- You can define a function that returns a table to be passed as the third
-- argument of nvim_open_win().
win_opts = function()
local width = math.floor(vim.o.columns * 0.5)
local height = math.floor(vim.o.lines * 0.5)
return {
border = 'single',
-- border = require("lir.float.helper").make_border_opts({
-- "+",
-- "─",
-- "+",
-- "│",
-- "+",
-- "─",
-- "+",
-- "│",
-- }, "Normal"),
width = width,
height = height,
}
end,
},
hide_cursor = true,
}
vim.cmd [[augroup lir-settings]]
vim.cmd [[ autocmd!]]
vim.cmd [[ autocmd Filetype lir :lua LirSettings()]]
vim.cmd [[augroup END]]
vim.api.nvim_set_keymap(
"n",
"<C-e>",
"<Cmd>lua require'lir.float'.toggle()<CR>",
{ silent = true, noremap = true }
)
EOF
Could you please update it again?
from lir.nvim.
Hi, I had float = {}
in my require'lir'.setup { }
after deleting that line lir
started working againg.
I was using commit commit = '5a7b21b0fdafe73719902b9848880fb3eb8500aa'
in the meanwhile. Sorry for not communicating with you I was very busy.
from lir.nvim.
Thanks for the info!
We have just corrected the problem.
Don't worry, I can be slow to reply too.
from lir.nvim.
Related Issues (20)
- Add completion for `rename` and move into directory if only a directory is specified.
- Don't show files set in `wildignore` HOT 2
- Make rename behave like linux `mv` HOT 1
- New lir buffer is opened and floating window remains on cd HOT 5
- Add LirCursorLine hightlight HOT 6
- Clipboard action picking up items from previous selection in visual mode (`v`) HOT 4
- `vim.opt.autochdir = true` causing lir to always go one directory up when being toggled in an empty window HOT 2
- Change behavior rename file HOT 1
- [Feature request] Add LSP support HOT 4
- Error using `nvim .` after disabling netrw HOT 3
- ignore option does not work with "dist-newstyle" HOT 1
- Error: Get Filter Error after #5d62e83 commit HOT 2
- Moving up or down directories should visually preserve marked items
- feat: add `../` and `./` to list
- bug: Error detected while processing BufEnter Autocommands for "*": HOT 7
- question: two instances of lir
- Can't use lir.nvim at the same time as oil.nvim HOT 1
- Fullpath contains double slash before filename
- Should be able to give mappings a description (for which-key)
- Devicon colors do not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lir.nvim.