9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
vi editor on CYGWIN
vi editor is not working on CYGWIN.Please let me know how to make that work as soon as possible.My work is getting delayed due to this problem. (5 Replies)
Discussion started by: liyakathali
2. UNIX and Linux Applications
Passing the value of a cursor to another cursor
i have 2 cursors. i want to assign the value of first cursor(employee_id) to the where condition of cursor c2(please refer the bold statement).
how do i do if i want to assign the value of c1 to where condition of cursor c2?
declare
cursor c1 IS
select employee_id from employee
cursor c2… (1 Reply)
Discussion started by: vkca
3. Shell Programming and Scripting
vi Editor on Cygwin
I installed Cygwin today and my vi editor was not working i.e. on while using vi command, I was getting «command not found» error.
I realized that many have faced this problem and the previous threads on this have been closed without complete answers.
I tried something and it worked. Wanted to… (1 Reply)
Discussion started by: erora
4. UNIX for Dummies Questions & Answers
tip: Simple script won’t run in cygwin — vim editor involved
I ran into this issue and thanks to various postings in various forums, was
able to figure out the solution but didn’t see one posting that laid the
whole issue out cleanly. So thought the following might help others …
————————————————————————… (2 Replies)
Discussion started by: oxysep
5. Shell Programming and Scripting
editor mode in cygwin
Hi,
I am using CYGWIN for script testing. I have found that vi command does not work in this. Kindly suggest how can I edit a script that is stored in a file ??? (5 Replies)
Discussion started by: himvat
6. UNIX for Dummies Questions & Answers
cygwin vi editor
now i am new to unix… i installed cygwin on windows because i want to make c++ program… and i need vi editor… whenever i write (vi anything) in the cygwin terminal it says vi: command not found …since i installed all the packages (1 Reply)
Discussion started by: mostafamagdy
7. UNIX for Dummies Questions & Answers
Vi editor : Knowing the current cursor position
Hi All,
In VI editor, to know the line number at any instant we use ctrl+g
Similarly, to know the current coulmn number what shall we use??
If not direct key controls like ctrl+g, Is there any comands that could be executed in colon or ex mode of VI to know the current column position???… (1 Reply)
Discussion started by: ramkrix
8. UNIX for Dummies Questions & Answers
vi editor in cygwin
I have downloaded latest cygwin editor for windows xp.
vi editor is not working on it.
the error i get is «vi : command not found»
I have already seen a post in this forum regarding the issue but the links in the post are broken.
So please help on this issue.
thanks in advance (1 Reply)
Discussion started by: arparwan
9. UNIX for Dummies Questions & Answers
Cursor positioning thru VI Editor
Is there a way that I can position cursor at say line 23, column 2?
Thank you in advance. (8 Replies)
Discussion started by: Latha Nair
gconf-editor(1) User Commands gconf-editor(1) NAME
gconf-editor - view and edit personal desktop configuration preferences SYNOPSIS
gconf-editor DESCRIPTION
The GConf Editor application enables you to view and edit all of your current personal desktop preferences. The GConf Editor window pro- vides a tree view to navigate through the hierarchy of preferences, an edit pane to make changes to individual preferences, and a descrip- tion pane to highlight the documentation associated with the currently selected preference. OPTIONS
None. OPERANDS
None. EXAMPLES
Example 1: Launching GConf Editor example% gconf-editor EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gconf-editor Executable for GConf Editor. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability | | +-----------------------------+-----------------------------+ |Interface stability | | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop System Administration Guide for your platform. NOTES
Written by Stephen Browne, Sun Microsystems Inc., 2003. SunOS 5.10 1 Oct 2003 gconf-editor(1)
Since I have the same issue:
Problems summary
When launching VIM with vim-multiple-cursors and set mouse=a in my vimrc, I notice multiple issues:
- When I launch VIM, the command window shows
:.4205;0c - When I try to click in an empty buffer, I receive
E348: No string under cursor - When I click on text in a non-empty buffer, I receive various errors, such as
E486: Pattern not found: v \andE78: Unknown markand sometimes the command line shows!?,Invalid Range, and broken regex searches (as far as I can tell, it seems random) - Using the mouse wheel switch to other buffers, inserts some text and otherwise behaves erratically.
Expected
- I can click to move the cursor normally
- I can use the mouse whell to scroll the buffer
- VIM starts without pre-entered characters in command line
Environment Information
OS: Tried on Ubuntu 16 and Termux
Neovim/Vim/Gvim version: 7.4 and 8.0 (Issue ONLY in VIM, NOT in GVIM)
Provide a minimal .vimrc with less than 50 lines:
" Given you have a valid vim-plug setup:
set mouse=a
Plug 'terryma/vim-multiple-cursors'
In short
Simply add set mouse=a, launch VIM (not GVIM) and you should see the issues. I’m not sure where to start.
Workarounds
Disabling mouse support completely, which is a shame.
Dealing with this issue
Any idea of where to start would be helpful. I can spend some time trying to figure our why it’s happening and how it can be solved, but I didn’t even start using this plugin, so it’s difficult to justify starting to read the whole codebase… Anyway, let me know and I’ll do my best to help.
Каждый раз, когда я переключаюсь обратно в окно vim, он показывает список, если текущий курсор на пустой строке, он показывает ошибку: E349: No identifier Under Cursor.

5 ответов
Лучший ответ
Это вызвано плагином wincent / terminus.
< Сильный > Fixed
Добавить let g:TerminusFocusReporting=0 к .vimrc
1
Kaiyu Lee
27 Апр 2017 в 03:55
Согласно https://unix.stackexchange.com/a/480138, это режим FocusIn / FocusOut, который можно отключить с помощью:
echo -ne 'e[?1004l'
Я столкнулся с этой проблемой, когда терял соединение ssh, поэтому tmux на удаленном сервере, который включил режим FocusIn / FocusOut, не смог бы его отключить. Если я открою vim на моей локальной машине, vim получит эти события. Если режим FocusIn / FocusOut не используется по умолчанию для вашего терминала, вы также можете отключить его с помощью:
reset
0
egrubbs
2 Июн 2020 в 16:10

Этот список очень похож на вывод :ilist! Plugin или [I с курсором на Plugin или ]I с курсором на первый Plugin. Посмотрите, нет ли у вас этого где-то в vimrc (кстати, вы должны добавить к своему вопросу).
Вероятно, сообщение об ошибке вызвано :help gd или :help gD.
1
romainl
21 Апр 2017 в 07:32
Alt-tabbing в Terminal отправляет команду ^] в VIM. Чтобы игнорировать эту команду, поставьте
nnoremap ^] <Nop>
В вашем .vimrc файле
0
Stephen Rauch
2 Мар 2018 в 01:23
Единственный обходной путь для этой проблемы, который я обнаружил до сих пор, — это запустить tmux, а затем запустить vim на одной из панелей tmux.
3
Tigran Aivazian
5 Сен 2018 в 12:42

15 Years Ago
i have installed cygwin with vim and vi editor but when i type into those editor nothing gets written and message comes that no string under cursor plz help somebody
Recommended Answers
umm… have you used vi before? if not, there are other editors like emacs and nano etc. that might be simpler to learn
anyway, vi has two modes, the command mode and insert mode. it starts in the command mode, where you can move around and do commands. the …
Jump to Post
All 2 Replies

bugmenot
25
Posting Whiz in Training
15 Years Ago
umm… have you used vi before? if not, there are other editors like emacs and nano etc. that might be simpler to learn
anyway, vi has two modes, the command mode and insert mode. it starts in the command mode, where you can move around and do commands. the command «i» goes into the insert mode. when in insert mode, pressing Esc will go back into command mode

eggi
92
Posting Whiz
15 Years Ago
Hey there,
If that’s the default behaviour of your vi, you can put this in a .exrc file in your home directory, but, while you’re in the editor, just type
[esc]:set prompt
If it is that you’re starting in command mode and never getting out — hitting
i — will put you in insert mode
a — will put you in insert mode also, but one space ahead
o — will do the same but start a new line below the one you’re one
O — will do the same but start a new line above the one you’re on
As mentioned above, when you want to stop typing and use the command functions, hit [esc]
Best wishes,
, Mike
Reply to this topic
Be a part of the DaniWeb community
We’re a friendly, industry-focused community of developers, IT pros, digital marketers,
and technology enthusiasts meeting, networking, learning, and sharing knowledge.