Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Posts by mcp‭

18 posts
80%
+6 −0
Q&A How to indent list items in Vim

Problem How do I indent a list item in Vim the following way? Ideally I want this to happen automatically upon wrap, but will settle for something like ESC TAB doing the trick. Have This is a ...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 9mo ago by tssm‭

Question vim indent
77%
+5 −0
Q&A How to copy files preserving one directory up

Have mkdir -p d1/d1_sd1/ d2/d2_sd1/ touch d1/d1_sd1/f1.txt d2/d2_sd1/f1.txt . ├── d1 │   └── d1_sd1 │   └── f1.txt └── d2 └── d2_sd1 └── f1.txt 4 directories, 2 files ...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by mcp‭

Question linux cp bash
75%
+4 −0
Q&A What is the magit equivalent of git switch branch?

What is the magit equivalent of git switch branch? I'm particularly interested in the situation where you cloned a repo, and want to checkout a remote branch locally. From the commandline that u...

0 answers  ·  posted 1y ago by mcp‭  ·  edited 1y ago by mcp‭

Question git emacs magit
71%
+3 −0
Q&A How to blockquote region in Emacs

In markdown-mode, markdown-blockquote-region does the trick! Bound to SPC m x Q or the shortcut , x Q in spacemacs.

posted 1y ago by mcp‭  ·  edited 1y ago by mcp‭

Answer
71%
+3 −0
Q&A How to blockquote region in Emacs

Question Is there a command in emacs for "email quoting" an autofilled paragraph? Have Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec facilisis facilisis, est dui fermentu...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by mcp‭

Question emacs blockquote
71%
+3 −0
Q&A How to make background transparent and trim to content

Question Is there a way in grafx2 to make the background transparent and trim to content? This could be done during save. My process now when making images for documents is: Make image in gra...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by samcarter‭

Question grafx2
66%
+2 −0
Q&A Reset all buffer variables to default in Emacs

Question How do you clear local variable customizations in buffer? In other words, how do you reset all variables to default? Use case This may be useful in instances where you M-x customize-var...

1 answer  ·  posted 6mo ago by mcp‭  ·  last activity 6mo ago by mcp‭

Question emacs spacemacs
66%
+2 −0
Q&A How to track down target atom for svg to pass to xclip

Background The xclip manual mentions use of targets: -t, -target specify a particular data format using the given target atom. With -o the special target atom name "TARGETS" can be used t...

0 answers  ·  posted 1y ago by mcp‭

Question xclip target-atom
66%
+2 −0
Q&A How to make selection and overwrite from register all from ex mode

MWE line 1 line 2 line 3 line 4 line 5 line 6 line 7 Go to "line 4": /line 4 ENT. Delete into register: dd. Replace everything with register using only ex mode. (Non-ex equivalent: gg...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by Quasímodo‭

Question vim ex visual
66%
+2 −0
Q&A How to view history of tabs sent to devices in Firefox

I will often send tabs to other devices for later viewing and sometimes these tabs get lost between power-ons or swiped away if I don't open them immediately. Is there a place where I can view t...

0 answers  ·  posted 7mo ago by mcp‭  ·  edited 7mo ago by mcp‭

Question firefox
66%
+2 −0
Q&A How to update log diff buffer with cursor

MWE Using magit: Open log buffer: ll. Open a commit diff: ENT. Go back to log buffer without closing diff: window-other. Question Starting from the MWE above, is there a way to have the d...

0 answers  ·  posted 1y ago by mcp‭

Question emacs magit spacemacs
66%
+2 −0
Q&A Change indent width in scad-mode

MWE translate() square(); Problem I'd like to set the number of spaces per indent in scad-mode to 2. When I press tab on the second line in the MWE, it should result in: translate() ...

0 answers  ·  posted 1y ago by mcp‭  ·  edited 1y ago by mcp‭

62%
+3 −1
Q&A How to jump to original mark after overwriting

MWE In Vim: mm. o ESC mm (by accident, meant mn). Question How do I jump to the original mark m set in action 1.? Edit I'm sorry, what I meant was you issue mm when you meant 'm. (It al...

1 answer  ·  posted 1y ago by mcp‭  ·  edited 1y ago by mcp‭

Question vim mark
60%
+1 −0
Q&A Reset all buffer variables to default in Emacs

M-x kill-local-variable RET c-basic-offset seems to work, but only temporarily. If I save, and close Emacs, and revisit the file, the changes do not persist. I that in an affected directory, each ...

posted 6mo ago by mcp‭

Answer
60%
+1 −0
Q&A How to redraw screen putting specific line at top without moving cursor

The best I've come up with since, when the line in question is often returned to, is to go mark the line you want up top with mz and the line you are working on with mw. Returning your workspace t...

posted 1y ago by mcp‭

Answer
60%
+1 −0
Q&A How to redraw screen putting specific line at top without moving cursor

MWE 5 4 3 2 1 0 Go to the end of the file: G. Question Using spacemacs, how do I put the line with 3 at the top of the screen without moving the cursor? With moving the cursor that wou...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by mcp‭

Question vim spacemacs scroll
60%
+1 −0
Q&A What in the HTML is preventing CutyCapt from capturing Altair output

Question I am using Altair to generate plots using python and pandas. What is preventing CutyCapt from capturing the plot in the html output? CutyCapt writes a blank png. MWE I am outputting ...

0 answers  ·  posted 1y ago by mcp‭  ·  edited 1y ago by mcp‭

60%
+1 −0
Q&A How to add vertical line in the middle of two marks on image

Have This .png image of a plot: Want To add vertcal lines between the groupings: (0, 1, 2) LINE (3, 4, 5) LINE (6, 7, 8) I want to place the lines exactly in the middle of the grouping boun...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by samcarter‭