Comments (14)
Ctrl-K
was actually the way it's typically used with Nano. This seems fine.
from micro.
ctrl+k is not very intuitive imo
I tried ctrl+shift+d (notepad2) and ctrl+y (intellij idea/jedit) and then googled
from micro.
#70 should do that for you now with Ctrl-k.
"Delete" is not the same as "Cut". If I have something in the buffer, and want to delete some lines — I can't use "Cut the line".
from micro.
You can rebind Ctrl-k if you would like or use a new keybinding entirely:
OK, thanks, it looks working. But Alt-g: show bindings
still shows ^K Cut line
— should it be a new issue?
from micro.
#70 should do that for you now with Ctrl-k
.
from micro.
notepad++ used ctrl+shift+L
it seems there is no consensus here, but I think its better to use one of these. At least some people could guess right away
from micro.
You're welcome to change your keybindings. And also, if you press Alt+g it will show on-screen a number of common keyboard shortcuts, including this one.
from micro.
@AlexWayfer, in nano, ctrl+k
cuts a line. in vim, dd
cuts a line
can you delete a line without cutting in these editors?
i think u must paste your buffer, cut the line, re-copy buffer
from micro.
@AlexWayfer, in nano, ctrl+k cuts a line. in vim, dd cuts a line
can you delete a line without cutting in these editors?
Ctrl+K
innano
doesn't overwrites system buffer (Ctrl+Shift+V
)- The same with
dd
invim
: you can paste cut thing withp
or system-wide withCtrl+Shift+V
in the insert mode. Ctrl+K
inmicro
overwrites system buffer.- Why do you takes these examples?
mc
(mcedit
) hasF8
for deleting line without cutting.
from micro.
ah i see, the system buffer is overwritten when cutting a line.
what would be a good fix for that?
from micro.
ah i see, the system buffer is overwritten when cutting a line.
what would be a good fix for that?
I'm OK with the one buffer, system, instead of two, system + application. But I think there should be a shortcut for deleting a whole line, not cutting. I'm personally prefer Ctrl-Shift-Backspace
, but it can be even F8
, like in Midnight Commander. Atom Editor has Ctrl-Shift-K
by default for this (without buffer changing).
Anyway, I think this issue should be opened because it's about deleting, not cutting.
from micro.
You can rebind Ctrl-k if you would like or use a new keybinding entirely:
{
"CtrlK": "SelectLine,Delete"
}
from micro.
Is there a way to modify the content of the bindings shown by Alt-g?
I modified CtrlK to delete a line rather than cut it, and was hoping I could update those shown by Alt-g to reflect this change.
from micro.
Hi, I have a problem, when I use Ctrl-k, micro says that's Recording and if I press again, it says Stopped Recording.
I'm trying to modify the keybindings (to have DeleteLine) but it's not working. I'm able to modify other keybindings (for example Ctrl-d with DeleteLine) but not Ctrl-k.
I'm on EnOS with AwesomeWM and Alacritty for the terminal. Zsh for the shell. Everything is up to date (I'm installing everything from blank).
from micro.
Related Issues (20)
- support BOM head on win , linux HOT 2
- Color-link statement is not valid HOT 2
- PATCH: Micro puts state information in config directory HOT 1
- Keybinding CtrlSpace appears to be broken on Windows
- Nested brace matching makes it impossible to highlight (underline) certain braces HOT 2
- `SelectWordLeft`/`SelectWordRight` behave inconsistently when cursor is at beginning/end of line HOT 1
- `SelectWordLeft` selects characters to the RIGHT of the cursor HOT 7
- `SelectWordLeft`/`SelectWordRight` behave inconsistently for non-word characters HOT 3
- Possible to show file path at the bottom of info pane? HOT 4
- Cannot bind `\u001b[` keybindings to `AbortCommand` HOT 2
- Feature Request: autoclose should place delimiters around a selection HOT 4
- quoter plugin is reinstalled when updating plugins HOT 1
- `showkey` command could be more intuitive
- palettero plugin breaks `\u001b[` keybindings
- lock to provide warning when opening a file already opened in another instance of micro HOT 2
- set filetype sets the filetype for all opened tabs and not the current focused HOT 4
- Feature proposal: TUI drop-down menus HOT 2
- Enhanced multi-line editing
- Why doesn't Micro use Nano's syntax coloring? HOT 6
- [WSL] Font changed to Raster Fonts when opening Micro
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micro.