Commit graph

692 commits

Author SHA1 Message Date
Robert Altner d71cb68bd9
add crab 2024-04-24 08:46:29 +02:00
Lauchmelder 68685fe11e
Update README.md 2024-02-16 19:57:51 +01:00
Lauchmelder f6226d37ed
Rename Unbenannt.png to sussify-menu.png 2024-02-16 19:57:11 +01:00
Lauchmelder a6dd9a7df6
sus 2024-02-16 19:56:24 +01:00
Lauchmelder f2ddf46332
Update README.md 2024-02-16 19:55:13 +01:00
Robert 3907643c59 sus 2024-02-15 17:21:16 +01:00
Kian-Meng Ang 4e089dffda
Doc: fix typos (#542)
Found via `codespell -L enew`.
2023-09-20 14:46:23 +02:00
herrvonvoid 9d3163db67
Doc: fix startify-faq-01 title (#508)
In f8f90f5704 it was
forgotten to update the title...

Co-authored-by: marcusatiliusregulus <marcusatiliusregulus@gmx.net>
2023-09-20 14:29:58 +02:00
Melih Darcan 187bc07ca0
Doc: missing word
Either a path or a dictionary whereas the key is the custom index and the value the path.
Either a path or a dictionary whereas the key is the custom index and the value *is* the path.

Closes https://github.com/mhinz/vim-startify/pull/497
2023-09-20 14:20:09 +02:00
Marco Hinz 50971a4862
Nvim: adjust VimEnter check due to upstream change
Due to a recent change in Nvim [1], our VimEnter check wasn't firing anymore and
thus Startify wouldn't run at startup.

The line2byte() "trick" was replaced by less abusing VimL.

[1]: b051b131f5

Fixes https://github.com/mhinz/vim-startify/issues/549
2023-09-20 13:34:02 +02:00
Marco Hinz 81e36c352a
Warn when a symlink loop is detected
References https://github.com/mhinz/vim-startify/issues/490
2021-05-08 17:32:00 +02:00
ndavid df0f1dbdc0
Make startify#center() use window width (#464) 2021-04-23 20:19:48 +02:00
Marco Hinz 3ffa62fbe7
Doc: add short remark about 'autochdir' 2021-04-22 14:51:06 +02:00
Marco Hinz 5ee8914b26
Do not beep when toggling batch mode
Fixes https://github.com/mhinz/vim-startify/issues/479
2021-04-02 16:52:31 +02:00
Marco Hinz f20cef34ba
Nvim: hide EndOfBuffer markers 2021-03-31 19:39:22 +02:00
Marco Hinz d663f4db7a
Avoid Press-ENTER prompt on system()
Fixes https://github.com/mhinz/vim-startify/issues/460
2021-03-13 19:58:33 +01:00
Marco Hinz 85ca0a103b
Doc: NERDTreeTabsClose -> NERDTreeClose
Fixes https://github.com/mhinz/vim-startify/issues/461
2021-03-13 17:44:36 +01:00
Marco Hinz 6654e37a1e
Do not alter registers when changing batchmode
Fixes https://github.com/mhinz/vim-startify/issues/467
2021-03-13 16:49:21 +01:00
Marco Hinz f2fc11844b
Use ternary operator 2020-10-07 16:13:53 +02:00
Elijah Gregg 3724615f4a
Make StartifyEntryFormat() work with bookmarks (#426) 2020-10-07 16:06:10 +02:00
Marco Hinz aa6b82783b New option: g:startify_change_cmd
Different people prefer different values. Can be set to 'cd', 'lcd', or 'tcd'.

Closes https://github.com/mhinz/vim-startify/issues/425
2020-10-07 14:40:51 +02:00
Marco Hinz e18fa54e64
Fix pad spacing 2020-10-07 01:15:47 +02:00
Marco Hinz 2e610ac523
Set buffer modifiable and noreadonly
When using :Startify in an empty buffer (so no :enew is used), which is set to
'nomodifiable' or 'readonly', the plugin would throw errors.

Closes https://github.com/mhinz/vim-startify/issues/406
Closes https://github.com/mhinz/vim-startify/issues/408
2020-10-07 00:00:25 +02:00
Marco Hinz 60bae7f08e
Do not cache options
There was never a technical reason for it anyway.

Closes https://github.com/mhinz/vim-startify/issues/409
2020-10-06 22:39:27 +02:00
Marco Hinz 04ad724e80
Skiplist: filter a few files by default 2020-10-06 14:36:08 +02:00
Marco Hinz 593388d3db
README: mention wiki 2020-04-18 19:06:35 +02:00
Marco Hinz 05122f08c6
Use environ() if available 2019-12-07 02:47:06 +01:00
Marco Hinz a521559d70
SDelete: redraw more often to avoid pending dialog messages 2019-11-15 19:58:21 +01:00
Marco Hinz 2ea9085789
Batchmode: fix unknown function issue
Fixes https://github.com/mhinz/vim-startify/issues/398
2019-11-06 11:27:43 +01:00
Marco Hinz bba214f6b3
Fortune: quote might be a funcref
Fixes https://github.com/mhinz/vim-startify/issues/396
2019-10-27 02:35:27 +02:00
Marco Hinz 520f277695
Initialize b:startify.leftmouse
Fixes https://github.com/mhinz/vim-startify/issues/394
2019-10-06 13:18:41 +02:00
Marco Hinz af03e075a3 Pad default header 2019-10-01 17:25:12 +02:00
Marco Hinz aa4f53c9f7 Add helper functions startify#pad() and startify#center() 2019-10-01 17:25:12 +02:00
Marco Hinz a90684813f Don't pad startify#fortune#cowsay()
This makes it easier to use for scripting purposes.
2019-10-01 17:25:12 +02:00
Marco Hinz 5369e219e5
Avoid uncolored header due to too small &synmaxcol 2019-10-01 16:51:44 +02:00
Marco Hinz 9814df57c1
Expose startify#set_mark()
This function can be used to remap the functionality that is mapped to the
b/s/v/t keys by default.

References https://github.com/mhinz/vim-startify/issues/390
2019-09-19 19:28:20 +02:00
Marco Hinz ae10ca5152
Scroll window to top as much as possible
This way you'll see as much as possible from a potential header.

The reverse (making the current line the top line in the window) could be done
via..

    autocmd User Startified normal! zt

..or centerered via..

    autocmd User Startified normal! zz

Fixes https://github.com/mhinz/vim-startify/issues/391
2019-09-19 15:40:20 +02:00
Marco Hinz 13b67af7aa
API: get the session path 2019-08-27 19:45:25 +02:00
Marco Hinz d7849587e5
Skip default header for very old versions
Closes https://github.com/mhinz/vim-startify/issues/386
2019-08-15 12:28:42 +02:00
Tsuyoshi CHO 2486ab67bc Skip all files below .git and fugitiveblame files 2019-08-07 10:05:50 +02:00
Marco Hinz 9abd2c7684
Nvim: make :SClose close terminal buffers as well
Fixes https://github.com/mhinz/vim-startify/issues/382
2019-07-29 15:24:08 +02:00
Marco Hinz a27df8325c
Doc: slightly improve the centered header example 2019-05-28 16:40:35 +02:00
Marco Hinz 2e5d068572
Nvim: do not set 'shortmess' for Nvim v0.3.4
Nvim v0.3.4 bug: https://github.com/neovim/neovim/issues/9885

Since the `shortmess+=I` is just a workaround for a potentional flicker at start
itself, it now requires either Vim or at least Nvim v0.3.5.

A fix was later backported to v0.3.4, but we can't rely on that.

References https://github.com/mhinz/vim-startify/issues/369
2019-05-11 00:42:30 +02:00
Marco Hinz 0a21284782
CI: simplify config
- Nowadays `sudo false` is not needed anymore.
- Updating Homebrew takes much longer than running the actual tests. Just use
  the old Vim version installed by default on macOS.
2019-04-11 17:40:57 +02:00
Marco Hinz 420e2fa789 Batchmode: add documentation 2019-04-11 17:35:53 +02:00
Marco Hinz a4d663ebb9 Batchmode: disable batchmode on VV etc.
Also indicate it with a message when the batchmode is turned off.
2019-04-11 17:35:53 +02:00
Marco Hinz 3dda0f55df Introduce batchmode
In batchmode you can mark entries without going to their line first.

Use uppercase characters `B`/`S`/`V`/`T` to switch between modes.

E.g. V123 is the same as going to entry 1, hitting v, then entry 2 hitting v,
then entry 3, hitting v. Use <cr> as usual to open the marked entries.

Using the lowercase variants still works as before and resets an active
batchmode.

Implements https://github.com/mhinz/vim-startify/issues/357
2019-04-11 17:35:53 +02:00
Marco Hinz 6d7a05bdfb
Typo
References https://github.com/mhinz/vim-startify/issues/366
2019-04-11 00:28:06 +02:00
Marco Hinz a5a8db7462
Tests: remove useless ssop-=tabpages 2019-04-11 00:14:09 +02:00
Marco Hinz c91d197017
Typo 2019-04-10 23:42:47 +02:00