Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install notes for vim 8 #89

Closed
clach04 opened this issue Jul 3, 2023 · 3 comments
Closed

install notes for vim 8 #89

clach04 opened this issue Jul 3, 2023 · 3 comments

Comments

@clach04
Copy link
Contributor

clach04 commented Jul 3, 2023

Once vifm was installed, I found it easier to install using vim 8 package (not tried with nvim):

git clone https://github.com/vifm/vifm.vim.git ~/.vim/pack/bundle/start/vifm

where bundle is the existing plugin name space I have.

Worth a PR?

I happen to be on debian so vifm was a quick

sudo apt install vifm
@xaizek
Copy link
Member

xaizek commented Jul 3, 2023

Worth a PR?

Feel free to send one or I can update the README.

clach04 added a commit to clach04/vifm.vim that referenced this issue Jul 4, 2023
@clach04
Copy link
Contributor Author

clach04 commented Jul 4, 2023

#90

@xaizek xaizek closed this as completed in 2d8b2d2 Jul 5, 2023
@xaizek
Copy link
Member

xaizek commented Jul 5, 2023

Thanks!

savchenko added a commit to vim-laundry/vifm.vim that referenced this issue Jul 20, 2023
* Add %c 'statusline' macro (FS size)

It displays size of current file-system.

Thanks to Jose Riha (a.k.a. jose1711).

Closes #697 on GitHub.

* Make handlers return a table

* Make view columns return a table

* Pass width to custom column handlers

* Make zx fold parent of current non-directory entry

Thanks to filterfalse.

* Update vifm-lua.txt a bit

* Export plugin metadata via `vifm.plugin`

* Enable package library in Lua

* Introduce `vifm.plugin.require()`

Loads a module relative to plugin's root.

* Treat VifmEntry as a separate type

* Make :file[x]type support Lua handlers

* Add "folded" and "selected" fields to VifmEntry

* Enable use of Lua handlers in 'statusline' option

* Mark some API as unsafe and enforce it

* Add vifm.otherview()

* VifmView{.cwd,.currententry,.entrycount,:entry()}

* Version v0.12-beta

* Document that %q handles Lua handlers as well

Just because it's effectively a viewer command, but being explicit won't
hurt.

* Finally add README to the plugin

* Make :VifmCs of the plugin to handle 24-bit colors

* Introduce `vifm.version` table

The only purpose is to allow checking version without hitting `nil`
error in the future when there will be something to check for.

* Add screenshot of Vim plugin in use

Thanks to Sneharsh Belsare (a.k.a. neutr0nStar).

Closes vifm#67 on GitHub.

* Version v0.12

* Fix the typo in Vim doc as well

* Tiny fixes for 'syncregs' docs

* Add 'autocd' option

Makes invalid :commands be interpreted as an implicit :cd command.

Thanks to Taras Halturin (a.k.a. halturin).

Closes #675 on GitHub.

* Add %N macro

It prevents detaching viewers from current session.

Thanks to emorozov.

* Add vifm.sessions.current() function

Exposes information about active session.

* Extend has() to check for Lua handlers

* Extended cl normal to selection of multiple files

Thanks to aleksejrs.

Closes #705 on GitHub.

* Add cl key visual mode

Similar to its function in normal mode.

* Add handling of "-" in :session

Switches to a previous session.

* Replace "status-bar" => "status bar"

* Replace "statusbar" => "status bar"

* Add sample installation guide to the readme.md

Closes vifm#70 on GitHub.

* Disable spell checking in terminal buffer

For Neovim, Vim ignores 'spell' while in terminal mode.

Thanks to mohabme.

Fixes vifm#72 on GitHub.

* All indexes in Lua start at 1

Note that in the documentation and remove incorrect comment about
returned entry index being base 0.

* Document that fields of VifmEntry are just copies

* Start exposing tabs via Lua API

Introduce vifm.tabs table and VifmTab type with very basic functions.

* Work around an issue with :drop

Running `:drop x` in one of several `x` windows can move you into
another one of them, so avoid calling it after opening a single file as
it's not actually necessary.  There is still an issue if opening
multiple files and the first one is already opened in another window.

Thanks to Hamza Tokuchi (a.k.a. Meuko).

Closes vifm#71 on GitHub.

* Document that <del> key might correspond to <bs>

Thanks to dalvand.

See https://q2a.vifm.info/996/map-backspace-to-move-up-a-level

* Add %pu macro for disabling preview caching

Thanks to b0x4it.

Closes #750 on GitHub.

* Fix error on returning to deleted file

* Add vifm.keys table to Lua API

* Check existence of alternate buffer for dir open

That is when replacing netrw.

Thanks to homie-desktop.

Fixes vifm#77 on GitHub.

* Fix expand() requiring \ to be escaped twice

Once for environment variable expansion and once for macro expansion.

This isn't convenient nor intuitive, users had trouble with it.

* Add :keepsel command

Changes default behaviour after running a :command to not reset
selection of a view.

Thanks to dalvand and sharklasers996.

At least part of #757 on GitHub.

* Document that Ctrl+L reloads file lists

* Ignore hidden directories on loading plugins

Otherwise it attempts to load `.git` as a plugin and prints an errors on
statusbar.  Maybe should also ignore all directories without `init.lua`
in them.

* Add -skip parameter to :copy/:move/:alink/:rlink

Makes the commands automatically skip files that exist at destination
instead of refusing to proceed.

Thanks to Jose Riha (a.k.a. jose1711).

Closes #352 on GitHub.

* Allow implementing custom selectors in Lua

Like "a" and "A" in "da", "dA".

* Allow selectors and multikeys for Lua keys

* Add vifm.escape() Lua function

Escapes input to make it suitable for use in an external command for
current value of 'shell'.

* Describe handler details in *vifm-lua-handlers*

Rather than doing it at *vifm-l_vifm.addhandler()*.

* Add vi[x]cmd Lua handler for edit-list action

* Add vi[x]cmd Lua handler for edit-many action

* Add vi[x]cmd Lua handler for open-help action

* Add vi[x]cmd Lua handler for edit-one action

This should complete support for customizing editors.  However, need to
add more Lua API for running commands to allow integrating console
editors as well, but that's not directly related.

Closes #651 on GitHub.

* Update config paths in vifm-app.txt

* Add vifm.run() Lua function

Runs an external command similar to :!.  Waits for it to finish if
terminal multiplexer is not involved.

* Enable os.tmpname() in Lua

* Document that editor Lua handler gets .command

Forgot to document and test it.

* Add "datasync" value to 'iooptions'

It configure whether writes on file copying when 'syscalls' is on are
synchronized periodically.  On by default.

Thanks to Andrew Savchenko and Afz.

See #788 on GitHub.

* Add <[am]-s-[a-z]> and <s-[am]-[a-z]> notation

That is angle-bracket notation for alpha keys with Alt and Shift
modifiers.

Thanks to Reece Petersen.

* Add <[am]-[0-9]> angle-bracket

These are numeric keys with Alt modifier.

Thanks to anonymous at Vifm Q2A site.

See
https://q2a.vifm.info/953/is-it-possible-to-map-alt-number-or-ctrl-number

* Add expression pseudo-register for cmdline mode

Invoked on Ctrl-R =.

Thanks to Marcos Cruz and Jiji from Vifm Q2A site.

* Add expr register's history to vifminfo/sessions

* Support displaying expr reg's history via :history

* Document hborder

* Minor consistency corrections for hborder

* Add "maxtreedepth" value to 'previewoptions'

It allows limiting depths of the displayed tree.

Thanks to Afz.

Closes #795 on GitHub.

* Add %o macro to 'statusline'

It expands to Unix permissions in octal form (and to nothing on
Windows).

Thanks to iSeeU816.

Closes #707 on GitHub.

* Change how location of trash dir is determined

Now starting `vifm --no-configs` won't mess anything up if you're using
`~/.vifm`.  Can potentially cause some trouble for existing
configurations, but shouldn't.

* Docs and other missing bits for new <keys>

* Made gs remember selection for up to 10 last dirs

Thanks to ratnamhof and Matthias Braun (a.k.a. mb720).

* Add %l/%"l and %L/%"L macros

For the list of selected files.  %f is not empty if there is no
selection, which is not always desirable.

Thanks to ratnamhof.

Closes #470 on GitHub.

* Add "Regular expressions" section to the docs

* Add parsing of \c and \C sequences in regexps

They force case ignoring or matching respectively.

Thanks to filterfalse and Safal Piya (a.k.a. mrsafalpiya).

Closes #755 on GitHub.

* Add :PeditVifm command to the plugin

Along with corresponding :PeditVim inside Vifm session.

Thanks to Mukund Mauji (a.k.a. maujim).

Closes vifm#75 on GitHub.

* Update README of Vim plugin with :PeditVifm

* Do not reset selection on :view command

Thanks to Alexandre Viau.

* Fix "retrives" typo in vifm-lua.txt file

* Make vifm.tabs.get() easier to use

Use current tab if "index" field is omitted and make the parameter
optional.

* Add VifmTab:getlayout() method

Provides information similar to that provided by layoutis() builtin
function.

* Block auto-commands when using :! in Vim plugin

Thanks to sak96.

Fixes vifm#80 on GitHub.

* Document CmpMismatch in hierarchy of hi groups

* Add CmpUnmatched and CmpBlank highlight groups

For highlighting added/removed and blank entries in compare views.

Thanks to qsmodo.

See #796 on GitHub.

* Improve wording in documentation on :copen

* Version v0.12.1-beta

* Improve docs wording for av normal mode key

* Allow optional description in completion matches

* Expose VifmEntry:mimetype()

* Fix <silent> not highlighted after :c[nore]map

* Version v0.12.1

* Fix a typo in vifm-lua.txt

* Add "withicase" and "withrcase" to :compare

To force ignoring and respecting case respectively on comparing file names and
paths.

Thanks to Jose Riha (a.k.a. jose1711).

Closes #680 on GitHub.

* Add VifmEntry.isdir field

Allows checking for a directory or a symbolic link to a directory.

* fix: Color scheme generator: fix compatibility with 256 color schemes

* Implement running a callback when VifmJob is done

* Add vifm.events.listen() and exit event

Thanks to 高浩亮 (a.k.a. haolian9).

Closes #828 on GitHub.

* Added viewing of comparison results

* Add "columncount:" value to 'lsoptions'

Allows to always display fixed number of columns.

Thanks to Aleksandr Vysotskiy (a.k.a. loki1368).

Closes #835 on GitHub.

* Add toggled show* arguments to :compare command

They control/switch which sets of files are displayed.

Finishes and closes #832 on GitHub.

* Make :compare! restart with toggled show*

This is better than reusing :compare as it allows restarting comparison
anew if needed.

This actually reuses state of the compare and doesn't resort to
defaults.

* Document basic mouse support

* Add 'mouse' option

Control when mouse input is handled (not handled by default).

* Add input() builtin function

It prompts user for input.

Thanks to Artur F. (a.k.a. arturfabriciohahaedgy).

Closes #824 on GitHub.

* Add optional completion type to input() builtin

Currently either file&directory or directory-only completion.

* Enforce unique plugin names in load_plugs_dir()

At the moment all names are guaranteed to be unique by the file system,
but that will change for the case of multiple plugin search directories.

* Add `--plugins-dir` command-line option

It allows specifying additional places to look for plugins.

Thanks to 高浩亮 (a.k.a. haolian9).

Closes #825 on GitHub.

* Switch tabs with mouse wheel in normal mode

See for more details on mouse coordinates limits:

  https://stackoverflow.com/a/47261003/1535516

* Add Ctrl-Y key to command-line mode

It activates quick navigation that allows entering deep paths by a
series of searches for individual path components.

Thanks to Henrik Holst (a.k.a. hholst80) and dmocek.

Closes #853 on GitHub.

* Add Ctrl-O key to command-line navigation

It goes to parent directory.

* Add 10 keys to command-line navigation

Ctrl-N
Ctrl-P
Up
Down
Left
Right
Home
End
Page Up
Page Down

* Add :amap, :anoremap and :aunmap commands

They configure mappings in navigation mode.

Thanks to Henrik Holst (a.k.a. hholst80) and dmocek.

* Provide basic instructions on mappings in docs

So that people not very familiar with Vim could use them.

Thanks to dmocek.

* Make reference to 'lsview' active in 'runexec' doc

* Extended do and dp keys to process selection

Thanks to Mark S. (a.k.a. Markuzcha).

Closes #857 on GitHub.

* Enable defining navigation maps in Lua

* Add 'navoptions' option

It allows tweaking navigation mode a bit.

Thanks to filterfalse.

* Add Ctrl-J key to command-line navigation

It leaves the mode without opening a file/directory.

Thanks to filterfalse.

* Made Ctrl-E/Ctrl-Y scroll transposed ls-like view

Horizontally, by one column.

* Handle mouse in view mode

* Handle clicks on left and right miller columns

Leave directory for the left column and open entry for the right one.

* Add "rpreview:files" to 'milleroptions'

Thanks to aksr.

Closes #870 on GitHub.

* Add vifm.input()

Same as input() builtin, opens a command-line prompt and returns its
result.

* Add app.fsop event to Lua API

It enables some monitoring of file-system changes caused by Vifm.

Thanks to 高浩亮 (a.k.a. haolian9).

Closes #872 on GitHub.

* Add fromtrash/totrash to app.fsop("move") events

Thanks to 高浩亮 (a.k.a. haolian9).

* Add r key to :jobs menu

It reloads the list of jobs.

Thanks to Sylwia Ptasinska (a.k.a. SylEleuth).

Related to #877 on GitHub.

* Change %N macro to also not start a process group

Thanks to Oskar Grunning (sQVe).

See vifm/vifm#731 (comment)

* Add regedit :command

Performs external editing of register contents.

Closes #819 on GitHub.

* Minor and stylistic updates for :regedit

* Canonicalize paths read by :regedit

Registers shouldn't contain weird or relative paths.

* Fix typo in the docs: ment -> meant

* Add additional User10..User20 highlight groups

Along with corresponding %10*-%20* macros.

Thanks to Sylwia Ptasinska (a.k.a. SylEleuth).

Closes #875 on GitHub.

* Make VifmTab:getview() return active pane of gtab

Later might do this explicitly on pane=current and also handle
pane=other (could use pane=0 and pane=-1 or -1 and -2, but it's more
cryptic).

* Add 'tabline' option to specify fmt of the tabline

* Make 'tabline' accept Lua handler

* Document that Lua handlers are run in safe env

* Add VifmView.custom table

Provides title and type of custom view if it's active.

* Fix double empty line in vifm-app.txt

`>` doesn't need to be terminated with `<`.

* Add filereadable() builtin function

Mainly as a way to check file's presence.

* Highlight comments after :source command

* Add vifm.executable()

* Fix description of %i macro in the documentation

Mention that it runs command in background.

* Some wording fixes in vifm-lua.txt

* Add two more items to |vifm-lua-caps|

* Bump version of Lua API to v0.1.0

Not very useful at the moment, but a nice way to make sure that
reporting and checking for the version works fine and will do so when
version changes start to matter.

* Version v0.13-beta

* Clarify what happens to non-integer indexes

They are ignored.

* Add VifmView:select() and VifmView:unselect()

* Fix copy&paste in docs on vifm.keys.add()

* Document missing return value in getpanetype()

* Version v0.13

* Add "mchistory" value to 'vifminfo'

And to 'sessionoptions' option as well.

It manages storing of command-line history of menus.

* Make documentation of 'vifminfo' more readable

* Add ":history mcmd" menu

It displays command-line history of menus.

* Add :col[der] and :cnew[er] commands to menu mode

They can be used to traverse history of navigation menus.

* Fix vifm-:volumes tag (trailing "s" was missing)

* Rewrite "Menus and dialogs" part of the docs

It was inconsistent with the rest of the documentation and even with
itself, subsections weren't sorted, some information wasn't accurate,
wording wasn't very good either.

* Add docs on menus history

* Allow :colder without prior :copen

For convenience, this doesn't make anything new possible, just makes for
a quicker workflow.

:cnewer can be used too, but it has nothing to do.

* Add :chi[story] that opens history of menus

* Set sw=4 in modelines of Vim doc files

ts=8 results in sw=8 if one uses sw=0, which is inconvenient.

* Fix several :command lacking highlight in rhs

These commands:
 - :keepsel
 - :plugin
 - :plugins
 - :stop

* Add :chi[story] command to menu mode

No need to leave menu mode to open the history.

* Allow :cnewer to initiate viewing stashes

This is done for the symmetry when you open :chistory and see that there
are newer menus, but :cnewer errored with a message that claimed
otherwise.

* Add 'hloptions' to configure columns coloring

Thanks to qsmodo.

Closes #649 on GitHub.

* Reorder paragraphs in :highlight documentation

Attributes should come last.

* Add "column:{name}" form to :highlight command

To specify style of a separate column.

Thanks to Anton Gepting.

Closes #461 on GitHub.

* Add "millersep:" value to 'fillchars'

It allows customizing the border between miller columns.

Thanks to Shuo (a.k.a. shenqshuoh).

Closes #741 on GitHub.

* Fix a couple of references in Vim-doc

The case was wrong.

* Fix incorrect ref in vifm-menus-history of vimdoc

* Auto-close gone Vim buffers

Implementation idea taken from rnvimr.

Thanks to Zeng (a.k.a. Bekaboo) and 高浩亮 (a.k.a. haolian9).

Closes vifm#85 on GitHub.

* Fix a comment in vifm.vim

"#" isn't necessarily supported (e.g., by nvim).

* README install note - vifm#89

---------

Co-authored-by: xaizek <xaizek@posteo.net>
Co-authored-by: Vineeth-commits <74132998+Vineeth-commits@users.noreply.github.com>
Co-authored-by: Roger Bongers <r.l.bongers@gmail.com>
Co-authored-by: qsmodo <75080827+qsmodo@users.noreply.github.com>
Co-authored-by: filterfalse <filterfalse@gmail.com>
Co-authored-by: Roman Plášil <me@rplasil.name>
Co-authored-by: IAmKapuze <KapuzeBeatz@yandex.ru>
Co-authored-by: haoliang <haoliang0.1.2@gmail.com>
Co-authored-by: Rostislav Tolushkin <rostislav.tolushkin@gmail.com>
Co-authored-by: clach04 <clach04@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants