Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
just now I get some message in the sublime text that uses some specific shapes like
π,π
and π.
who knows how I can write this everywhere that I want?
what I have:
π Git Gutter? Want to support development?
π
β ES6 β
π ES6.io/friend/GITGUTTER
there are a good amount of ways to achieve this. The shapes and stickers are symbols listed under the unicode directory.
You are going to be flooded with a lot of answers, I will share the two ways I know how to do this:
Copy the unicode symbol from a website and paste it like so, π¦
Install a sublime plugin called the Unicode Completion (there will be other plugins, do search for them)
Note: The unicode for a particular symbol is the same across the world, but how this unicode character gets rendered (the looks) is defined by the software that is being used.
To install the plugin Unicode Completion and to use it, do as follows,
Press "Ctrl + Shift + p" in sublime
Type in install and choose "Package Control: Install Package"
Type in unicode and search for the UnicodeCompletion package and press enter, you will see at the bottom most bar in sublime, near the left the progress of installation
Once the plugin is installed, press "Ctrl + Shift + p" again and type "unicode completion"
Choose "Unicode Completion: Unicode Lookup" from the list of options that comes up
You will now see a list of symbols followed by the /:command: required to insert that command (you can search that list by typing a symbol's name in the text bar there)
For example, type heart in that text bar and you will see that there a few types of hearts there (you can press enter there on one and it will be copied to your clipboard and later can be pasted)
So you type \: followed by the command for the heart symbol you want up to an extent and press tab key for converting it into a unicode symbol β€
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Recently I installed Ubuntu and I've some troubles with typing text on terminal, the problems not occurs on the text editors. I can't select the text to right or left using shift+arrow. When I try it, like shift+left, D letter is typed on the line, and C is typed using shortcut with arrow right. Resuming, I've two issues:
Select text with shift+arrow not working;
Select all text with shift+home or shift+end
I installed KDE on Ubuntu. Please, anyone can help me?
The standard Terminal does not use the same shortcuts (or even the same cursor behavior) as you might expect in a browser or text editor window. The shift key by itself does not select text that way. shift+home will scroll to the top, shift+end to the bottom, and using it with pg up/pg down will scroll up/down one screen. The arrow keys are mapped to A/B/C/D.
As you can see on this list, most of the commands are for moving around and managing processes. I usually just select text with the mouse, then copy with ctrl+shift+c and paste with ctrl+shift+v. As discussed on Ask Ubuntu, there appears to be no easy way to select arbitrary text without the mouse.
Alternative terminal programs may offer more options.
Update While this is not a standard shortcut, you can go into Terminal's Edit > Preferences > Shortcuts, find the Edit section, click the Select All row in the Shortcut Key column, then enter a new shortcut like ctrl+shift+a. This new shortcut will then let you then copy all of the terminal text.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I would like to be able to replace a misspelled word in a Google doc with Google's recommended correction with a keyboard shortcut, instead of having to mouseover the word, right click on it, and select the corrected word.
Is there any way to do this? (I'm working on a Mac).
As of 6/2020, the suggestion of the spell checker appears in a bubble, accepted as follows:
Navigate the cursor to within the misspelled word (which is underlined in red)
(Suggestion appears in bubble)
Press Tab to access the bubble
Press Enter to apply the suggestion.
There's no keyboard shortcut for this purpose. You can see complete list of Google Docs keyboard shortcuts here or press β + / or Ctrl + / in docs window. You might use β + Shift + \ to open Context (right-click) menu but then you have to select the suggested word. That's all I can help you with!
Windows users use Ctrl + Shift + x to open context menu.
Edit:
As Dr Ankita Bali answered below, you can use F7. This does both spelling and grammar checks.
Hit F7
Press enter to replace with suggested word.
Press Tab and Enter to ignore the suggestion.
Note: This method iterates all over the misspelled words and grammatical errors in the document. If you want to correct specific word, you still have to use context menu.
Note for Firefox: In Firefox, F7 is used to toggle caret browsing. On prompt, you can either select checkbox for Do not show me this dialog box again. Or use Saka Key extension.
You can also configure advance settings. Type about:config in address bar. Click 'I accept the risk!'. Search for caret. Double click on accessibility.browsewithcaret_shortcut.enabled or click 'Toggle' from context menu to toggle the value. False value means disabled.
First enable compatible spreadsheet shortcuts.
Then F7
Attached a screenshot here if it helps.
Per the Keyboard shortcuts for Google docs (on a Mac): holding Ctrl + β, press e then p. This moves focus to the popup.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When I was trying to use vim help.txt file I found I was unable to open the .txt files included in it. Its instruction at the beginning of the file says:
Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].
But it doesn't work and it shrinks the size of the words on my terminal. I want to know how to open the related files and also how to get my terminal window back to normal.
Thanks in advance!
Thank you all for your kind help! I was using Gnome-terminal. Actually Ctrl+Shift+] is needed. Just as copy and paste are completed by Ctrl+Shift+c and Ctrl+Shift+v in the terminal.
As for the size of the words, it can be adjusted by view tab on top selecting Zoom in or Zoom out. The reason I was stuck was that, I can zoom in by Ctrl+- but I cannot zoom out by Ctrl++, and similarly, it should be Ctrl+Shift++.
(By + I mean pressing together. '+' means the actual key.)
Also worth mentioning, as #Kent pointed out, the settings can be adjusted through edit tab.
The problem is that in some keyboard layouts the ] key is the same as the + or the -, but with different modifiers. So when you type Ctrl-] your terminal emulator program thinks you are typing Ctrl-+, then uses it on its own, to change the size of the font, or something like that.
The solution is to map another key to this function. I'm using F12 because it is handy and seldom used for anything else. Just add this to your .vimrc:
nmap <F12> :exe "tjump" expand("<cword>")<CR>
imap <F12> <C-O><F12>
Well, technically, the Ctrl-] is equivalent to :tag, not :tjump, but I find that more convenient when using tags.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We donβt allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
Is there an editor in Linux that can highlight all instances of a word when the word is double-clicked? I was using Notepad++ in Windows which provided that feature. Now I am missing it in Linux editors. I tried Kate, Gedit, etc.
To enable this feature in Geany do the following:
Install the addons plugin: sudo apt-get install geany-plugin-addons
In Geany, click on Tools -> Plugin Manager
enable the plugin Addons (check in the column Active)
configure the plugin by clicking on Preferences
enable the option Mark all occurrences of a word when double-clicking it
First install the addons plugin:
sudo apt-get install geany-plugin-addons
and then apply the answer of mr13.
What version of Kate where you using, Kate has that exact feature as described here.
This Geany addon didn't work for me (on Fedora), rather this one did: http://sourceforge.net/projects/geanyhighlightselectedword/. Though installing it was a bit complicated.
Summary
Eclipse has something similar. Install the Darkest Dark plugin, then double-click a word and press Ctrl + F to highlight all instances. Press Esc to unhighlight.
Both Sublime Text 3 and 4 and Microsoft Visual Studio Code (VSCode) have the double-click feature. Just double-click any word to highlight all instances of it. Click away anywhere to unhighlight.
Details
The top 3 modern, Linux-compatible editors which come to my mind when I think about software development are the following. All 3 of them are powerful, modern, widely-used, and cross-platform (Windows, Mac, and Linux)!
Eclipse
free and open source software (FOSS), and no-cost, but very heavy.
My go-to and primary editor for professional and hobby software development because it's got an outstanding, world-class indexer which allows you to Ctrl + Click on any variable or function name to jump to its definition.
Links to my full setup documentation are found here.
Sublime Text 3 and 4
proprietary/closed-source shareware, a professional and very powerful and very light-weight tool, no-cost for an unlimited full-access trial period, and relatively low-cost for a license
My primary editor for individual files--I frequently edit the same file at the same time with both Eclipse and Sublime Text 3 and 4, since Sublime has wonderful multi-cursor support for simultaneous editing of multiple lines all at once! I also have Eclipse set as my git editor of choice (see my answer here: How do I make git use the editor of my choice for commits?)
Learn to use it with this live, interactive tutorial-style "plugin": https://sublimetutor.com/.
Microsoft Visual Studio Code (VSCode)
free and open source source (FOSS) source code, and no-cost; minor caveat: technically, the binaries distributed by Microsoft are freeware, though the source code is free and open source
One of the industry's most popular editors today, but also a relatively new entry into the field. I haven't used it much yet.
So, let's see how each of these 3 can "highlight all instances of a selected word":
1. Eclipse
If you install the plugin Darkest Dark Theme with DevStyle, you get the following features:
Just place your cursor on any variable and it automatically highlights all instances of this variable, like this. Here you can see _currentChannel_i highlighted in black in 4 places, and in some yellowish color in one place near the bottom-left:
[MY FAVORITE] Double-click any word to highlight it, then press Ctrl + F to highlight all instances of it! Use the buttons in the find bar in the top-right (also shown circled below) to choose "Case sensitive search" and/or "Match whole word" as desired too. You can also choose "Regular expression search". Here you can see 8 instances of _currentChannel_i all highlighted in blue, including some in the comments! I use love this feature and use it all the time! Press Esc to cancel the Ctrl + F blue highlighting.
See here for links to my full setup documentation.
2. Sublime Text 3 and 4.
From here, if I'm doing some fancy multi-cursor editing, I like to right-click the screen and go to "EasyShell" --> "Open with default Application" to open up this same file in Sublime Text 3 or 4.
In Sublime Text 3 and 4, you simply double-click any word to highlight all instances. That looks like this. Here, I have double-clicked _currentChannel_i, and you can see 9 instances of it highlighted/boxed, including in the comments. Simply click away anywhere to undo this selection.
Note that you can also highlight a word and then press Ctrl + D repeatedly to highlight instances of it, one-at-a-time, each with a new cursor. This is handy when editing all instances of a variable in a single file all at once, for quick-editing/refactoring, rather than using the Ctrl + H Find and Replace tool.
3. Microsoft Visual Studio Code (VSCode)
This one is super easy too! Just double-click any word to highlight all instances of it--same as Sublime Text 3 and 4. Click away anywhere to undo this selection. Here, I have double-clicked _currentChannel_i, and you can see 9 instances of it highlighted, including in the comments.
So, which editor to use?
Well, Sublime Text is the lightest, by far, but lacks a good indexer and function view/explorer. It has advanced, modern features like multi-cursor mode. It is made by one lone and very-talented developer, so if you use it, please go buy a license to support his work. That's his livelihood.
Eclipse is the heaviest, by far, but lacks modern features like multi-cursor mode. It is the oldest of the 3, by far, and has a world-class indexer. Since it is the oldest (first released in 2001) and FOSS, it is widespread and is used as the base for many other professional editors and microcontroller development platforms, such as the STM32CubeIDE, and the Arduino Professional IDE, both of which are Eclipse-based. For that reason alone, it is worth learning.
Microsoft VSCode is the newest (first released in 2015), and is more light-weight than Eclipse and more-advanced and feature-rich than Sublime Text. Since it came after the other 2 editors, it was able to borrow ideas from Sublime Text (I'm supposing), such as multi-cursor mode, which is ingenious. Therefore, it contains that feature (see here: https://code.visualstudio.com/docs/editor/codebasics#_multiple-selections-multicursor), as well as a powerful indexer (which I can't comment on since I haven't used it), and an "OUTLINE" view in the left-hand pane to view a list of functions, definitions, etc., like I can see in the "Outline" view in Eclipse in the right-hand pane. Since it is backed by Microsoft, it is arguably the best-supported of the 3.
Since I am most-familiar with Eclipse, I prefer it in conjunction with Sublime Text. If you are brand-new to these editors, however, I recommend you just start with Microsoft VSCode and go from there. Optionally, try out my Eclipse installation and configuration instructions above if you ever find yourself needing or wanting to use Eclipse directly, or STM32CubeIDE or the Arduino Pro IDE.
VIM can do this:)Not by clicking, but there is a way to quickly search for a word and highlight all occurrences.
Check this out:
http://vim.wikia.com/wiki/VimTip14
There's Geany, but I don't know if it does that.
You could customize gedit to do much of what you want:
http://grigio.org/pimp_my_gedit_was_textmate_linux
If you can't get what you want, you could install Notepad++ with WINE. Try something like this.
In Linux Mint 19 Tara
Install geany-plugin-automark, then start geany, go to
Menu -> Tools -> Plugin Manager and Enable/check Auto-mark
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
years ago, i see a report that there is an image processor just using vim like keybinding
i am a vim user and i like this style
so i want to use it
if there is,tell me the name or give me a link
if there is not,i want to make it myself,but could someone show me a simple demo by using vim keybinding
On Windows, you can use AutoHotkey to remap the application's native key events to your own Vim-style bindings. For example, when I have Excel open, I can navigate around cells using my standard directional letter keys, by remapping them to behave like arrow keys; then when I need to edit a cell, I press i, as with Vim (i is remapped to F2).
You can remap complex key combinations to simpler ones for a Vim-like feel. For example, if your image processor of choice deletes something with Ctrl+d and Undo is Ctrl+z, you can remap this so that delete is just x or d or both, and remap undo to just u.
Not that I know of. If you want a demo of keybinding that has been implemented in a non-vim environment, take a look at vimperator plugin for Firefox. It brings vim-like keybinding to Firefox.
On what platform? For X there's feh or xzgv, for the Linux console there's fbi.
This may help
vimperator is great
when in any text field, or the url bar, type C-t and your in "TEXTAREA" mode! which is like command mode in vi inside the textfield or textarea. awesome!
only thing to get used to is using C-t instead of escape (or C-[)
expect to hit the wrong one a few times