mvim: '+' argument doesn't work with '--remote' and friends
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- vim
- Ambito
- cli
Direzione di ricerca
Riproduci il comportamento con mvim --clean usando +, +2 e --remote come descritto, quindi traccia la gestione della riga di comando di mvim per questi argomenti. Il lavoro è completato quando il cursore si apre alla fine del file per + e alla riga richiesta per +n, anche quando viene usato --remote.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Steps to reproduce
- Open a terminal.
- Type
ormvim + --remote <filename>mvim +2 --remote <filename>
, where <filename> is an existing file with more than one line.
4. Observe that the cursor is at the top of the file, not the end as directed by + (nor the line specified by +n).
Expected behaviour
Per mvim --help:
+Start at end of file
+<lnum>Start at line
Upon opening, the cursor should have been positioned on the last line of the file (or the line directed by the +<lnum> form).
Version of Vim and architecture
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 12 2023 09:31:27) macOS version - x86_64. Included patches: 1-1897
Environment
Operating system: MacOS 13.2.1 (22D68)
Terminal: iTerm2 Build 3.4.20
Value of $TERM: xterm-color
Shell: zsh 5.8.1 (x86_64-apple-darwin22.0)
How MacVim was installed
MacPorts
Logs and stack traces
No response
Vim configuration where issue is reproducable
https://gist.github.com/tomory/65de091000d9f89732f33be98d39848e
Issue has been tested with given configuration
- by running MacVim.app from GUI macOS interface
- by running vim/gvim/etc installed by MacVim
- by running other versions of vim (e.g. /usr/bin/vim)
Issue has been tested with no configuration
- by running
mvim --clean(orgvim, supplied by MacVim distribution) - by running
vim --clean(in terminal, supplied by MacVim distribution) - by running
vim --clean(in terminal, other suppliers, e.g. /usr/bin/vim)
Other conditions
- The both Homebrew packages "vim" and "macvim" are installed
- Lingua principale
- Vim Script
- Stelle
- 7.9k
- Fork
- 691
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di macvim-dev/macvim
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
macvim-dev/macvim#1697 · 5 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
macvim-dev/macvim#1658 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
macvim-dev/macvim#1657 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
macvim-dev/macvim#1655 ·
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
macvim-dev/macvim#1653 ·
Tutte le issue di macvim-dev/macvim
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nightscout/nocturne#1424 ·
-
impl detach for native Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
paritytech/zombienet-sdk#591 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mruangutai/harness#1897 ·
-
os:linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
mpv-player/mpv#18510 · 2 commenti ·