Commit graph

60 commits

Author SHA1 Message Date
ericguin
3abb6077d7
fix(ssh): config option to pass extra args to SCP (#340)
* Adding in SCP options configuration

This changeset adds in additional SCP options to the config. This allows
the user to specify a list of flags to send to the SCP command that will
be expanded into each shell command.

The primary driver for this is from newe boxes SSHing into pre 9 openSSH
boxes. New openSSH uses sftp server under the hood, rather than the
older SCP protocol. If you go into a system that does not have these
changes, SCP fails to work. The '-O' command line flag was introduced to
resolve this.

Using this change, the user can now pass in `extra_scp_options = {"-O"}`
to resolve the issue.

* Replacing table.unpack with global unpack

* lint: apply stylua

* refactor: change option name and shuffle config around

---------

Co-authored-by: Eric Guinn <eric_guinn@selinc.com>
Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-05-06 10:42:23 -07:00
Steven Arcangeli
1f05774e1c feat: experimental support for git operations (#290) 2024-04-19 18:00:44 -04:00
Steven Arcangeli
f41d7e7cd8 fix: support visual mode when preview window is open (#315) 2024-04-19 16:31:42 -04:00
Github Actions
8af4afabb3 [docgen] Update docs
skip-checks: true
2024-03-13 02:22:11 +00:00
TheNordicMule
29a06fcc90
feat: add ability to alter lsp file operation timeout (#317)
* feat: add ability to alter lsp file operation timeout

* change default

* fix table

* add missing

* move inside table

* remove duplicate

* reuse default

* change message

* refactor: rename autosave config option

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-03-02 09:02:42 -08:00
Steven Arcangeli
bcfe7d1ec5 feat: experimental option to watch directory for changes (#292) 2024-02-19 23:27:27 -08:00
Reinder van Bochove
e27cc4e138
feat: add border config for SSH and keymaps help window (#299)
* feat: add config for ssh window border

* chore: add documentation for ssh window border

* feat: add config for keymaps help window border

* chore: add documentatoin for keymaps help window border
2024-02-19 20:00:49 -08:00
Steven Arcangeli
f0315c101f doc: document some configuration options (#283) 2024-01-21 09:34:44 -08:00
Steven Arcangeli
0ef49e495e doc: windows recycle bin is now supported 2024-01-21 08:59:19 -08:00
Steven Arcangeli
71b1ef5edf feat: constrain_cursor option (closes #257) 2023-12-23 19:16:53 -05:00
Jack Tubbenhauer
48d8ea8f4a
feat: option to auto-save files affected by will_rename_files (#218)
* save buffers changed by will_rename_files

* prevent closing already open buffers

* chore: move to config option

* chore: fixes

* fix: a crash and some formatting

---------

Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2023-12-23 08:00:25 -08:00
umlx5h
ea612fe926
feat: add 'update_on_cursor_moved' option to preview window (#250) 2023-12-09 19:02:04 -08:00
Github Actions
cd0c2d1f0a [docgen] Update docs
skip-checks: true
2023-12-08 05:01:27 +00:00
Steven Arcangeli
af13ce333f fix: quit after mutations when :wq or similar (#221) 2023-11-13 10:46:08 -08:00
Steven Arcangeli
6175bd6462
feat: trash support for linux and mac (#165)
* wip: skeleton code for trash adapter

* refactor: split trash implementation for mac and linux

* fix: ensure we create the .Trash/$uid dir

* feat: code complete linux trash implementation

* doc: write up trash features

* feat: code complete mac trash implementation

* cleanup: remove previous, terrible, undocumented trash feature

* fix: always disabled trash

* feat: show original path of trashed files

* doc: add a note about calling actions directly

* fix: bugs in trash implementation

* fix: schedule_wrap in mac trash

* doc: fix typo and line wrapping

* fix: parsing of arguments to :Oil command

* doc: small documentation tweaks

* doc: fix awkward wording in the toggle_trash action

* fix: warning on Windows when delete_to_trash = true

* feat: :Oil --trash can open specific trash directories

* fix: show all trash files in device root

* fix: trash mtime should be sortable

* fix: shorten_path handles optional trailing slash

* refactor: overhaul the UI

* fix: keep trash original path vtext from stacking

* refactor: replace disable_changes with an error filter

* fix: shorten path names in home directory relative to root

* doc: small README format changes

* cleanup: remove unnecessary preserve_undo logic

* test: add a functional test for the freedesktop trash adapter

* test: more functional tests for trash

* fix: schedule a callback to avoid main loop error

* refactor: clean up mutator logic

* doc: some comments and type annotations
2023-11-05 12:40:58 -08:00
Github Actions
ac2928cca8 [docgen] Update docs
skip-checks: true
2023-10-03 16:08:57 +00:00
Steven Arcangeli
977da9ac66 feat: keymaps can specify mode (#187) 2023-09-28 09:18:15 -07:00
Steven Arcangeli
96a334abeb
feat: action for opening entry in an external program (#183) 2023-09-22 12:20:37 -07:00
Steven Arcangeli
9e036c6a48 cleanup: remove unnecessary option restore_win_options
This was only necessary to begin with because I was using `vim.wo` to
set window options. I mistakenly thought that would set the option as
window-local, but it did not. This was fixed in
6f8bf067c0. Now all the window options
should function as expected without the extra logic.
2023-09-12 10:53:11 -07:00
Github Actions
308fe70d6c [docgen] Update docs
skip-checks: true
2023-09-12 00:46:12 +00:00
Steven Arcangeli
879d280617 feat: api to sort directory contents (#169) 2023-09-08 21:56:34 -07:00
Steven Arcangeli
ca2560cae8 ci: merge workflow jobs and add makefile 2023-09-02 08:48:11 -07:00
Steven Arcangeli
7033d52db0 fix: change default winblend for floating window to 0 (#167) 2023-09-01 13:52:12 -07:00
Steven Arcangeli
9d90893c37 refactor!: disable netrw by default (#155)
If you use oil and you want to still use netrw, set
`default_file_explorer = false`.

It is nonsensical to both use netrw _and_ have oil hijack directory
buffers (which was the case for the default config). It also causes
undefined behavior and bugs. When `default_file_explorer = true` (the
default) oil will now disable netrw for you.
2023-08-20 01:13:42 +00:00
Steven Arcangeli
b24380c0e1 feat: config to remove icon padding (#145) 2023-08-08 23:22:16 -07:00
Github Actions
a2b7ab5e99 [docgen] Update docs
skip-checks: true
2023-06-26 15:56:41 +00:00
Github Actions
db60c32d93 [docgen] Update docs
skip-checks: true
2023-06-25 06:30:09 +00:00
Github Actions
2a63f9224f [docgen] Update docs
skip-checks: true
2023-06-21 15:58:28 +00:00
Steven Arcangeli
0e1b5e8f6b doc: extract API docs out of README 2023-05-23 23:40:41 -07:00
Steven Arcangeli
f535c1057c feat: support custom trash commands (#110) 2023-05-23 23:40:41 -07:00
Steven Arcangeli
19563c3658 fix: set bufhidden = 'hide' by default (#104) 2023-05-16 20:32:45 -07:00
Steven Arcangeli
6b05c2e913 feat: prompt user to save changes before editing moved file/dir (#93) 2023-05-07 08:07:08 -07:00
Github Actions
3cbebc2b0c [docgen] Update docs
skip-checks: true
2023-05-07 04:10:45 +00:00
Steven Arcangeli
82c706822b feat: add toggle_float function (#94) 2023-04-29 08:16:18 -07:00
Steven Arcangeli
5bdee20d5d refactor: stop checking in doc/tags 2023-04-21 22:16:31 -07:00
Steven Arcangeli
fb8b101d7c Merge branch 'NikolaM-Dev-feature-custom-icons' 2023-04-11 08:29:23 -07:00
Steven Arcangeli
54af7e013d doc: put documentation of icon config parameters in correct place 2023-04-11 08:28:03 -07:00
Github Actions
45f8497106 [docgen] Update docs
skip-checks: true
2023-04-04 20:53:28 +00:00
Juan David Merchan Torres
f687b721e9 docs(doc): Change custom icons to columns config 2023-03-31 14:29:59 -05:00
Github Actions
14a914aef1 [docgen] Update docs
skip-checks: true
2023-03-30 01:44:38 +00:00
Juan David Merchan Torres
4a103df99d docs(doc): Add custom icons to options section 2023-03-29 14:53:44 -05:00
Github Actions
08c4b71ef1 [docgen] Update docs
skip-checks: true
2023-03-19 20:53:40 +00:00
Github Actions
6d9b1e5241 [docgen] Update docs
skip-checks: true
2023-03-18 23:16:32 +00:00
Steven Arcangeli
3d3df74532 feat: config option to disable directory hijacking (#76) 2023-03-18 15:26:19 -07:00
Steven Arcangeli
12bea0f646 feat: API to change config.view.is_hidden_file at runtime (#69) 2023-03-12 12:49:49 -07:00
Github Actions
4152810907 [docgen] Update docs
skip-checks: true
2023-03-05 06:32:51 +00:00
Github Actions
647c2d316c [docgen] Update docs
skip-checks: true
2023-02-23 05:18:35 +00:00
Github Actions
1c953a3eac [docgen] Update docs
skip-checks: true
2023-01-29 00:20:27 +00:00
Github Actions
be962cf373 [docgen] Update docs
skip-checks: true
2023-01-28 23:39:46 +00:00
Steven Arcangeli
1d548190cf refactor!: make oil buffers unlisted by default (#45) 2023-01-24 10:11:06 -08:00