 
 (add-hook 'semantic-mode-hook #'danylo/semantic-remove-hooks)
 
+(use-package srefactor
+  ;; https://github.com/tuhdo/semantic-refactor
+  ;; Semantic Refactor is a refactoring tool based on Semantic parser framework
+  :bind (:map c-mode-base-map
+              ("C-c s r" . srefactor-refactor-at-point))
+  :config
+  (require 'srefactor))
+
 ;;;; Debugging
 
 (add-hook 'gud-mode-hook

        lsp-enable-snippet t ;; Enable arguments completion
        lsp-enable-on-type-formatting nil ;; Do not auto-reformat code
        lsp-headerline-breadcrumb-enable nil ;; Disable headerline breadcrumbs
        ;; Disabled LSP clients
        ;; C++: use clangd
        lsp-disabled-clients '(ccls)

              doom-modeline-major-mode-icon nil
              doom-modeline-icon nil
              doom-modeline-buffer-state-icon nil
              doom-modeline-buffer-file-name-style 'truncate-upto-root
              doom-modeline-buffer-encoding nil
              doom-modeline-mu4e t
              inhibit-compacting-font-caches t
