~novakane

France

~novakane/public-inbox

Last active 6 months ago
View more

Recent activity

[PATCH nfm v4] Add tab completion for files 10 days ago

From Hugo Machet to ~leon_plickat/nfm

Implements: https://todo.sr.ht/~leon_plickat/nfm/17
---
v3 -> v4
  Add a InputBuffer.getCursorToken() to complete the word where the cursor
  is instead of the last word of the buffer.

 src/InputBuffer.zig |  9 +++++
 src/nfm.zig         | 81 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/src/InputBuffer.zig b/src/InputBuffer.zig
index d7d053d60810..06c31c72d32b 100644
--- a/src/InputBuffer.zig
+++ b/src/InputBuffer.zig
[message trimmed]

[PATCH nfm v3] Add tab completion for files 11 days ago

From Hugo Machet to ~leon_plickat/nfm

Implements: https://todo.sr.ht/~leon_plickat/nfm/17
---
v2 -> v3
  * Tokenize before allocating the UTF8 string
  * Complete hidden files
  * Use an ArrayList of *File pointers
  * Return null in completion() if nothing is found
  * Escape space and already escaped space in file name

 src/nfm.zig | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)

diff --git a/src/nfm.zig b/src/nfm.zig
index ca4ee4d07714..ec419cebcfd4 100644
[message trimmed]

[RFC PATCH nfm] [WIP] Implements inotify to watch files 16 days ago

From Hugo Machet to ~leon_plickat/nfm

---
 src/DirMap.zig | 66 ++++++++++++++++++++++++++++++++++++++++++++++++--
 src/nfm.zig    | 45 +++++++++++++++++++++++++++++++---
 2 files changed, 106 insertions(+), 5 deletions(-)

diff --git a/src/DirMap.zig b/src/DirMap.zig
index 3552f0d0b855..8f581292831f 100644
--- a/src/DirMap.zig
+++ b/src/DirMap.zig
@@ -26,6 +26,8 @@ const os = std.os;
const unicode = std.unicode;
const sort = std.sort;

const context = &@import("nfm.zig").context;
[message trimmed]

[PATCH nfm v2] Add config option to show hidden files at launch 17 days ago

From Hugo Machet to ~leon_plickat/nfm

In main section:
  show-hidden: [true|false]. Defaults to false.
---
 example/config.ini |  1 +
 src/Config.zig     | 12 ++++++++++++
 src/nfm.zig        |  1 +
 3 files changed, 14 insertions(+)

diff --git a/example/config.ini b/example/config.ini
index faaec19915ac..6d82d9a8c7d2 100644
--- a/example/config.ini
+++ b/example/config.ini
@@ -4,6 +4,7 @@

[message trimmed]

[PATCH nfm] Add config option to show hidden files at launch 17 days ago

From Hugo Machet to ~leon_plickat/nfm

In main section:
  show_hidden: [true|false]. Defaults to false.
---
 example/config.ini |  1 +
 src/Config.zig     | 12 ++++++++++++
 src/nfm.zig        |  1 +
 3 files changed, 14 insertions(+)

diff --git a/example/config.ini b/example/config.ini
index faaec19915ac..55a776795cd2 100644
--- a/example/config.ini
+++ b/example/config.ini
@@ -4,6 +4,7 @@

[message trimmed]

[PATCH nfm v3] Set window title using OSC 2 18 days ago

From Hugo Machet to ~leon_plickat/nfm

Views title:
  * nav => "nfm: $CWD"
  * bm, fs => "nfm: <view name>"

Implements: https://todo.sr.ht/~leon_plickat/nfm/26
---
v2 -> v3:
  Update zig-spoon to use new setWindowTitle()

 deps/zig-spoon |  2 +-
 src/nfm.zig    | 10 ++++++++++
 src/view.zig   |  3 +++
 3 files changed, 14 insertions(+), 1 deletion(-)
[message trimmed]

[PATCH nfm v2] Add default keybind '~' to go to home dir 18 days ago

From Hugo Machet to ~leon_plickat/nfm

---
v1 -> v2:
  Only use `cd ~`

 example/config.ini | 1 +
 src/Config.zig     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/example/config.ini b/example/config.ini
index ee92b8f23745..faaec19915ac 100644
--- a/example/config.ini
+++ b/example/config.ini
@@ -21,6 +21,7 @@ home = cursor-move-to-top;
end = cursor-move-to-bottom;
[message trimmed]

[PATCH nfm v2] Set window title using OSC 2 18 days ago

From Hugo Machet to ~leon_plickat/nfm

Views title:
  * nav => "nfm: $CWD"
  * bm, fs => "nfm: <view name>"

Implements: https://todo.sr.ht/~leon_plickat/nfm/26
---
v1 -> v2:
  Rebased and modifed to work with dirmap re-design

src/nfm.zig  | 22 ++++++++++++++++++++++
 src/view.zig |  3 +++
 2 files changed, 25 insertions(+)

diff --git a/src/nfm.zig b/src/nfm.zig
[message trimmed]

[PATCH nfm v2] Add tab completion for files 18 days ago

From Hugo Machet to ~leon_plickat/nfm

Implements: https://todo.sr.ht/~leon_plickat/nfm/17
---
v1 -> v2:
  Rebased and modifed to work with dirmap re-design

 src/nfm.zig | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/src/nfm.zig b/src/nfm.zig
index bc5fe5870bc6..e39f578cd173 100644
--- a/src/nfm.zig
+++ b/src/nfm.zig
@@ -512,6 +512,19 @@ fn handleInputUserInput(in: spoon.Input) !void {
                try handleReturnUserInput();
[message trimmed]

[PATCH nfm] Add default keybind '~' to go to home dir a month ago

From Hugo Machet to ~leon_plickat/nfm

---
 doc/nfm.1                   |  1 +
 example/config.ini          |  1 +
 src/Config.zig              |  2 ++
 src/key-operations/misc.zig | 10 ++++++++++
 4 files changed, 14 insertions(+)

diff --git a/doc/nfm.1 b/doc/nfm.1
index 9435f1445cac..31ffc232bc58 100644
--- a/doc/nfm.1
+++ b/doc/nfm.1
@@ -123,6 +123,7 @@ h, left, C-b@enter-parent-dir
l, right, C-f@commit-file-at-cursor
G, end@cursor-move-to-bottom
[message trimmed]